JavaScript's 'NaN': The Notoriously Awkward Number馃槢NaN is a global property in JavaScript that represents a value that is "Not a Number". Despite its name, NaN is still considered a numeric data type in JavaScript. If you check the data type of NaN using the 'typeof' operator, you'll find that it ret...Apr 11, 2024 路 2 min readmohibulrefat.hashnode.dev
Reducer method in JavaScriptIn JavaScript, a reducer function is commonly used in combination with the Array.prototype.reduce() method. The purpose of a reducer function is to iterate over an array and accumulate a single value based on the elements of the array. This accumulat...Aug 19, 2023 路 2 min readmohibulrefat.hashnode.dev