Monday, May 16, 2022
The latest Chrome version has stopped video autoplay if the video is not muted. Firefox and the other browsers will soon…
Monday, May 16, 2022
Every variable in JavaScript has a data type which dictates the values that can be stored in it. However, JavaScript…
Monday, May 16, 2022
The basic idea to make this comparison would be to get arrays of parts from the version numbers and then compare pairs…
Monday, May 16, 2022
This is a function to remove all double whitespaces and preceding line breaks. This is a function to replace all line…
Monday, May 16, 2022
In JavaScript, any variable can be used in a logical context, such as the condition of an if statement or…
Wednesday, June 15, 2022
Writing code in an async programming framework like node.js becomes super complex and unbearably ugly, superfast. You are dealing with…
Tuesday, May 10, 2022
Events are the bread and butter in UI development. They are frequently used to kick off JavaScript to deal with…
Tuesday, May 10, 2022
Most of the JavaScript libraries come wrapped in an easy to refer single object. The object acts as a namespace,…
Tuesday, May 10, 2022
I recently fully understood the concept of utilizing Currying in JavaScript. The core concept can be grasped from these references: Wikipedia entry on…
Tuesday, May 10, 2022
John Resig, the creator of jQuery, has created this JavaScript inheritance code. I am still using it now to simplify several…
Tuesday, May 10, 2022
In JavaScript OOP there are attributes called private attributes. Knowing if an attribute is private or public, an API user…
Tuesday, May 10, 2022
JavaScript has a dynamic object named this. By default, this equals to the global object container, so if we have…