Popular posts

JavaScript
React
Post image

How To Setup Your Local React Playground

Posted February 11, 2020
How to setup your local React playground in 3 easy steps: install parcel, create 2 source files, run parcel. Then... play with React!
Continue reading ➞
Post image

3 Ways To Access Object Properties in JavaScript

You can access an object property in JavaScript in 3 ways: dot property accessor, square brackets property accessor, or object destructuring.
Continue reading ➞
Post image

5 Best Practices to Write Quality Arrow Functions

Best practices on how to write quality, readable and concise arrow functions in JavaScript.
Continue reading ➞
Post image

How to Use Template Strings in JavaScript

Updated March 21, 2023
Template strings in JavaScript are surrounded by backticks `string` and perform string interpolation: `Hello ${who}!`
Continue reading ➞
Post image

The Explicit Coding Discipline

The explicit coding discipline favors clear and explicit expression of intent in the code.
Continue reading ➞
Post image

NaN in JavaScript

Posted January 8, 2020
NaN, denoting "Not A Number", is a special number in JavaScript created after a faulty operation on numbers.
Continue reading ➞
Post image

How To Use Correctly JavaScript Utility Libraries

Posted January 2, 2020
How to correctly integrate JavaScript utility libraries into your application and minimize the increase of bundle size.
Continue reading ➞
Post image

3 Ways To Replace All String Occurrences in JavaScript

Updated January 27, 2023
You can replace all occurrences of a string using split and join approach, replace() with a regular expression and the new replaceAll() string method.
Continue reading ➞
Post image

Infinity in JavaScript

Updated October 2, 2022
Infinity in JavaScript is a special number bigger than any finite number.
Continue reading ➞
Post image

The Complete Guide to JavaScript Classes

JavaScript classes initialize instances with constructors, have fields and methods, permit encapsulation with private fields.
Continue reading ➞