Rojesh Shresthathenewbie.hashnode.dev·Jan 12, 2024Mastering JavaScript Array: Discussion on methods of arrayArray is a fundamental data structure used to store data of the same datatype under the same variable name. But JavaScript allows more flexibility compared to some other languages. Example of an array with different data types in JavaScript: const mi...DiscussflatMap
Dikshya Subedidikshyasubedi.hashnode.dev·Aug 7, 2023find() in JavaScriptThe find() method is an array method that returns the first element in the array that satisfies the given condition and is undefined if no element matches the given condition. It does not change the array on which it is called and hence helps achieve...Discussfind in js
Debashis Kardebashis99374.hashnode.dev·Mar 13, 2023Map(),Reduce(),Filter(), Find() And How They Are Different in NatureMany people are confused about when to use Map() when to use Filter() and when to use Reduce() and when to use Find(). Don't worry you are not alone. Overview:- Map(), reduce(), filter() and find () all are array methods in JavaScript. Each one will ...Discuss·83 readsJavaScript