List of some of the major features introduced in each version of ECMAScript: ECMAScript 1 (1997) ECMAScript 2 (1998) ECMAScript 3 (1999) ECMAScript 4 (never released) ECMAScript 5 (2009) – Examples ECMAScript 6 (2015) – Examples and W3 Examples ECMAScript 7 (2016) – Examples ECMAScript 8 (2017) – Examples ECMAScript 9 (2018) – Examples ECMAScript […]
The encodeURIComponent() and decodeURIComponent() functions are part of the JavaScript standard library, so you can use them in any JavaScript code, including AngularJS applications. You don’t need to include any additional libraries to use these functions. Here’s how you can use them: encodeURIComponent() This function is used to encode a URI component by escaping special […]
Avoid bugs by not using `&&` correctly for conditional rendering in React components In any React application, you know how to conditionally render parts of a component depending on props and state. Although there are multiple ways of conditional rendering, this article focuses on the JavaScript && operator. The main reason for this emphasis is […]