MGMifras Gaffoorinmifrasgaffoor.hashnode.dev·Jan 24, 2023 · 2 min readJavaScript ObjectsIn JavaScript, objects are a fundamental data type that allows you to store key-value pairs. Objects can be created using object literals, which are enclosed in curly braces {}. An example of an object that represents a person: can access the proper...00
MGMifras Gaffoorinmifrasgaffoor.hashnode.dev·Jan 24, 2023 · 1 min readJavaScript ArraysAn array in JavaScript is a data structure that allows you to store multiple values in a single variable. You can create an array by using square brackets and separating the values with commas. push(): adds an element to the end of an array pop(...00
MGMifras Gaffoorinmifrasgaffoor.hashnode.dev·Jan 23, 2023 · 1 min readJavaScript DOM ManipulationDOM stands for Document Object Model, and it refers to the way that JavaScript represents and interacts with the elements of a web page. DOM manipulation is the process of using JavaScript to modify the structure, content, and presentation of a web ...00
MGMifras Gaffoorinmifrasgaffoor.hashnode.dev·Jan 23, 2023 · 1 min readJavaScript Type CastingType casting in JavaScript refers to the process of converting a value from one type to another. This can be done implicitly or explicitly. Implicit type casting, also known as type coercion, occurs when JavaScript automatically converts a value to ...00
MGMifras Gaffoorinmifrasgaffoor.hashnode.dev·Jan 23, 2023 · 1 min readJavaScript Equality ComparisonsIn JavaScript, there are two types of equality comparisons: strict equality (===) and lose equality (==). Strict equality (===) compares both the value and the type of the operands. If the operands have the same value and the same type, then the com...00