AAAl Amininmdalamin.hashnode.dev·Aug 22, 2023 · 2 min readOperator precedenceJust like with math and logical operators, the concepts of operator precedence also pertain to objects. Associativity determines the order of operation, along with precedence. There are two types of associativity: right-associativity and left-associa...00
AAAl Amininmdalamin.hashnode.dev·May 4, 2023 · 1 min readPrototypes in JavaScriptIn JavaScript, a prototype is an object that serves as a template or blueprint for other objects to inherit properties and methods from. Every object in JavaScript has a prototype, except for the root object, Object.prototype. When an object is creat...00
AAAl Amininmdalamin.hashnode.dev·Apr 4, 2023 · 2 min readFunctions are just another type of value in JavaScriptIn JavaScript, functions are first-class citizens, which means they can be assigned to variables, passed as arguments to other functions, returned from functions, and stored in data structures. As a result, functions can be used as values in JavaScri...00
AAAl Amininmdalamin.hashnode.dev·Apr 4, 2023 · 2 min readArrays are also references.Arrays are a fundamental data structure in computer programming, and their implementation as references is an important aspect that affects their behavior and usage. When we create an array, the program allocates a block of memory that can store a fi...00
AAAl Amininmdalamin.hashnode.dev·Apr 2, 2023 · 3 min readObjects are References in JavaScriptIn JavaScript, objects are not simple values like strings, numbers, and booleans. Instead, they are complex data structures that consist of properties and methods. However, unlike simple values, objects are references in JavaScript. What are Referenc...00