MSMD SAMEER ALIinfirstclasscitizen.hashnode.dev·Aug 1, 2025 · 1 min readWhat does "first-class citizen" mean in JavaScript?First Class Citizen means being able to do others can do. In JavaScript functions are first class citizen. Here arise the question why? Because you can it can be assigned to variables, passed as a argument and has property and methods. Let’s try to u...00
MSMD SAMEER ALIinarraymethodsjs.hashnode.dev·Jul 18, 2025 · 4 min readArray's methodsArray has more than 30+ Instance methods. On this blog we are going to learn 10 array’s Instance methods. 1. concat() If you want to merge two or more array then you can use this method. This method return a new array. Example: const array1 = ["1",...00