SGSuraj Gawadeinsurajdotdev.hashnode.dev·Apr 4 · 3 min readString Polyfills and Common Interview Methods in JavaScript (Simple Guide for Beginners)Strings are one of the most commonly used data types in JavaScript. Many built-in methods help us manipulate strings easily. In interviews, you are often asked to implement these methods manually. Thi00
SGSuraj Gawadeinsurajdotdev.hashnode.dev·Apr 4 · 3 min readThe new Keyword in JavaScript (Simple Guide for Beginners)The new keyword in JavaScript is used to create objects from constructor functions. It may look simple, but it performs multiple steps behind the scenes. Understanding this helps you write better and 00
SGSuraj Gawadeinsurajdotdev.hashnode.dev·Apr 4 · 2 min readTemplate Literals in JavaScript (Simple Guide for Beginners)Working with strings is very common in JavaScript. Before template literals, developers used string concatenation, which often made code harder to read. Template literals solve this problem and make s00
SGSuraj Gawadeinsurajdotdev.hashnode.dev·Apr 4 · 3 min readArray Flatten in JavaScript (Simple Guide for Beginners)In JavaScript, arrays can sometimes contain other arrays inside them. These are called nested arrays. Flattening an array means converting a nested array into a single-level array. What Are Nested Arr00
SGSuraj Gawadeinsurajdotdev.hashnode.dev·Apr 4 · 2 min readError Handling in JavaScript: Try, Catch, Finally (Simple Guide for Beginners)While writing JavaScript, errors can happen at any time. These errors can break your application if not handled properly. Error handling helps you manage these situations and keep your application run00