OKOmkar Kolateinomkarkolate.hashnode.dev·Oct 21, 2021 · 6 min readObject-Oriented Programming In javascriptWhat is the Object? In javascript Object is a data type that is used for storing a collection of data and methods. Like in the below example we are storing different data and methods related to the user collectively in the object. const user = { fi...00
OKOmkar Kolateinomkarkolate.hashnode.dev·Oct 19, 2021 · 4 min readRegular Functions VS Arrow Functions1. Syntax Regular function In regular function statements, we need to use the function keyword at the start of a function definition or in the case of function expressions assigning an anonymous function to the variable. function printName(name) { ...00
OKOmkar Kolateinomkarkolate.hashnode.dev·Oct 7, 2021 · 2 min readErrors In JavascriptErrors are like a by-product of coding. Like any other programming language, errors are also present in javascript. Let's look at basic errors in javascript. 1. Syntax Error In the programming language way of writing code called syntax, Javascript al...00