SSShwetank Singhinshwetankblogs.hashnode.dev·Dec 30, 2022 · 4 min readJavaScript FunctionsWhat is a function? A function is a set of statements that performs a task or calculates a value. [MDN] Declaring a function function hello(){ console.log("Hello!"); } we use the "function" keyword to declare a function followed by the function ...00
SSShwetank Singhinshwetankblogs.hashnode.dev·Dec 28, 2022 · 2 min readJavascript object and It's methodEverything in javascript is an object. What is an Object? Object in simple words is an entity with properties and type. It contains key-value pair. These key-value pairs are called properties. Accessing properties Using Dot [.] operator To access ...00
SSShwetank Singhinshwetankblogs.hashnode.dev·Sep 11, 2022 · 4 min readJavaScript Interview Cheat SheetWhat is JavaScript? JavaScript is a lightweight synchronous & single threaded programming language. You might be wondering what do we mean by Synchronous? Single Threaded? When we say JS(or JavaScript) is synchronous we mean it execute code line by ...00
SSShwetank Singhinjavascript-interview-cheatsheet.hashnode.dev·Sep 11, 2022 · 4 min readJavaScript Interview Cheat sheetWhat is JavaScript? JavaScript is a lightweight synchronous & single threaded programming language. You might be wondering what do we mean by Synchronous? Single Threaded? When we say JS(or JavaScript) is synchronous we mean it execute code line by ...00
SSShwetank Singhinshwetankblogs.hashnode.dev·Aug 27, 2022 · 2 min readArrays Methods - JavascriptWhat are Arrays in JS? Arrays are special type of objects which uses numbers or index to access elements inside it. In this example typeof array gives us object. In javascript arrays can contain different data types in the same container for example...00