Sometimes, we want to play looping audio with the HTML5 audio element and JavaScript. In…
Sometimes, we want to check if the array of objects have duplicate property values with…
Sometimes, we want to declare an empty two-dimensional array in JavaScript. In this article, we’ll…
Sometimes, we want to get a substring that comes after a separator with JavaScript. In…
Sometimes, we want to get an element by ID and set the value with JavaScript.…
Sometimes, we want to detect if an HTML5 video element is playing with JavaScript. In…
Sometimes, we want to test if a URL string is absolute or relative with JavaScript.…
Sometimes, we want to split a string once in our JavaScript code. In this article,…
Sometimes, we want to remove a file from a JavaScript FileList object. In this article,…
Sometimes, we want to get the day of the week and the month of the…