News

JavaScript String indexOf() method : The indexOf() method is used to return the index value of specified string. It will give the index of string comes first from the start. We can also start ...
The first thing came to my mind were the guard clauses that helped me to isolate the code not related to the algorithm itself. Doing this, instead of nested conditionals we got a "flat" list of ...
JavaScript typed arrays are array-like objects that provide a mechanism for reading and writing raw binary data in memory buffers. Typed arrays are not intended to replace arrays for any kind of ...
I'm experimenting with dynamic loading of javascript using JQuery. So basically I have a loadScript function that accepts either the URL of a JS file or a javascript source in a string. For the former ...