The HTMLAudioElement API has access to all the properties and methods of the HTML <audio>...
Vibrations are the best way to provide physical feedback to users for any action mostly for mobile...
The split() method This method is used to split a string by a separator provided and...
Using the “in” operator The in operator returns true if the specified property is present...
Let's checkout some shorthand tips and other tricks. Remember, some of these are not readable and...
The getters and setters are helpful to access object properties and manipulate them in an...
A Promise in JavaScript is an object which returns a result after an asynchronous operation has...
A callback is a function that is passed into another function as an argument which can be invoked lat...
The Array.reduce() method reduces the array to a single value. The reduce() method takes one reducer...
There are various ways to remove an element from array. We will make use of pop, shift, splice, delet...
There are various ways to add or append an item to an array. We will make use of push, unshift, splic...
The setTimeout() method The setTimeout() method calls a function after a specified time pr...
In JavaScript this refers to the owner object. If you want to attach some extra properties to a funct...
Variables in JavaScript have two types of scoping i.e. Local and Global scope. If any variable is dec...