Tag: utility function

Recent Post

Detect an ad blocker with pure JavaScript

How to detect if a user is blocking ads using JavaScript.

How to shuffle an array in JavaScript

How to create a function that shuffles the order of array elements.

Check if a number is odd or even in JavaScript

Create a utility function to perform a check of whether a number is odd or even.