substr and slice methods of strings in JavaScript
and are string methods in JavaScript to cut out substrings from the full string. There's also but it's similar to . This answer on…
July 12th, 2020 | 2 mins read
15 posts published
15 posts published
and are string methods in JavaScript to cut out substrings from the full string. There's also but it's similar to . This answer on…
July 12th, 2020 | 2 mins read
Parameters and Arguments Parameters and arguments are a source of confusion to some developers. They are usually mistaken for each other, as…
June 23rd, 2020 | 5 mins read
The Rest and Spread operator are two features of JavaScript introduced in ES6. They work entirely different but their similar syntax (triple…
June 14th, 2020 | 4 mins read
and are two very common files you'll find in most packages. What is the purpose of ? Why is longer? Why do packages work perfectly without…
May 30th, 2020 | 4 mins read
Did you know that functions are also objects in JavaScript? However, would print out as seen below: Functions are not normal objects (with…
May 16th, 2020 | 3 mins read
The method just as the name implies sorts element in an array in a specificied order (could be ascending which is the default, descending…
April 10th, 2020 | 3 mins read
These methods in Javascript are used to scope the keyword in a function. In my article (Almighty this, demystified), I wrote: is an…
March 28th, 2020 | 3 mins read
is a javascript method (function on an object) that creates a new object while using a former object as the new object's prototype. What are…
March 21st, 2020 | 3 mins read
The callback queue and event loop are two features in Javascript which allow asynchronous codes to be executed at a later time A little…
March 7th, 2020 | 3 mins read
, and generally control hoisting of variables. Another feature of is that contrary to variables which can changed, values declared here…
February 23rd, 2020 | 3 mins read
A stack is a data structure in programming which consists of different elements. More elements are added by pushing and existing elements…
February 22nd, 2020 | 3 mins read
Async/Await method makes working with Promises easy. Added to this is that code is very readable compared to nested s. No prior knowledge of…
February 14th, 2020 | 4 mins read
What are promises? Promises are used to handle asynchronous events in Javascript. According to the dictionary, A promise is an assurance…
January 17th, 2020 | 6 mins read
Introduction to the DOM What is the DOM? DOM is an acronym for Document Object Model which refers to a logical representation of a document…
December 30th, 2019 | 4 mins read
What is Javascript? Javascript is a scripting language which is dynamic in nature. It is popularly known for it's usage on the web. With…
December 30th, 2019 | 5 mins read