NNamanininamanaggarwal.hashnode.dev·Feb 24, 2022 · 3 min readBasic String MethodsAs soon as you add a dot , there is a wrapper that gets created around the premitive values that gives them access to the methods of specific data types . It includes :- 1.charAt Accepts one parameter on which you want the one charAt . By default...00
NNamanininamanaggarwal.hashnode.dev·Feb 5, 2022 · 4 min readDifference between Primitive and non-premitive data typesCopy By Value And Reference One of the fundamental differences of objects versus primitives is that objects are stored and copied “by reference”, whereas primitive values: strings, numbers, booleans, etc – are always copied “as a whole value”. When y...01I
NNamanininamanaggarwal.hashnode.dev·Jan 23, 2022 · 3 min readTypes of VariablesAs we all know , there are eight data types in JavaScript. Seven of them are called “primitive”, because their values contain only a single thing (be it a string or a number or whatever). In contrast, objects are used to store keyed collections of va...00
NNamanininamanaggarwal.hashnode.dev·Jan 13, 2022 · 3 min readTypes of VariablesPrimitive data types Primitive data types only contain a single value. They can't contain a number of values. It includes further : 1. Number Numbers is a primitive data type in JavaScript. Whether its a decimal number or not both are type of number...00
NNamanininamanaggarwal.hashnode.dev·Jan 2, 2022 · 2 min readVariablesVariables Most of the time, a JavaScript application needs to work with information. Here are two examples: An online shop – the information might include goods being sold and a shopping cart. A chat application – the information might include users,...00