Use JavaScript classes to model and validate data Generate a random number between Min and Max and exclude a specific numberĬonvert Null, NaN, Undefined, and False to zeroĬalculate Variance and Standard Deviationĭefine a Function with Default Parameters Remove multiple consecutive whitespace characters Remove non-alphanumeric characters from a stringĬheck if a string contains non-alphanumeric characters
Remove leading and trailing whitespace from a stringĬheck if a String Starts or Ends With a Substringĭifferent Ways to Generate Random StringsĬonvert a byte array to a hex string and vice versa JavaScript Regular Expressions Cheat SheetĬount the occurrences of each word in a string