Posts

JavaScript Refresher and Detailed Study - Part 1

Last updated on 15 Aug 2026 Minor update on 20 Sep 2026 Post series: Next Part (2) ,     Post Series TOC Contents Introduction Strict mode in vanilla JS apps Symbol data type rarely used in typical web application development (as against libraries like React) Regular equality (==) is rarely used in modern JS coding; Strict equality (===) is the standard practice Curly Braces are commonly used for if Single-Statement Blocks except for early returns / guard clauses at the top of a function Nested Ternary statements formatting; Better options of object lookup or switch statement React: 'switch' is a statement and so illegal inside JSX; Multi-level ternaries are expressions which are valid in JSX and so commonly used; inline object lookup is a clean-code option Boolean(value) is cleaner than !!value Chaining nullish coalescing operator (??) across 3 or 4 variables is quite rare in modern React and application code Explanation of Destructuring code in...