Javascript Snippets

May 10, 2016  

like() function  A Javascript function that searches a given haystack for a given needle, similar to SQL's LIKE.

color() function Generate a random color or other variable length string