BBalraminlearnsomething.hashnode.dev·Jul 20, 2022 · 1 min readsome() in JavaScriptThe some() method in JS is somewhat similar to every() method in terms of arguments that it has and the type of value it returns (boolean), but its functionality is a bit different. The some() method checks whether any single element of an array meet...00
BBalraminlearnsomething.hashnode.dev·Jul 17, 2022 · 2 min readevery() in JavaScriptThe every() method in JS checks whether all of the elements of an array meet the condition that is passed inside the callback of every() function. This function returns a boolean value and returns true if and only if every element inside the array fo...00
BBalraminlearnsomething.hashnode.dev·May 15, 2022 · 1 min readStatic Methods in ClassesStatic methods in a class is defined as the functions or methods that can be used without making any object of the class. You can also use method overriding for such methods in an inherited class. class Employee { constructor(givenName, givenExpe...00
BBalraminlearnsomething.hashnode.dev·May 14, 2022 · 2 min readES6 Classes and InheritanceClasses are defined as the prototype or blueprint which are used to create the objects. Classes have certain methods are variables which are made available to their objects. Let's understand this with an example; suppose there exists an "Employee" cl...00
BBalraminlearnsomething.hashnode.dev·May 7, 2022 · 2 min readObject Literals in JavaScriptObject is an entity which has key-value pair or which has some properties and methods. Object Literal is a list of zero or more pairs of property key name and associated values enclosed in curly braces {}. In other words, object literals encapsulate ...00