Alok Ranjan SinghforAlok Ranjan Singh's blogaloksingh00.hashnode.net·Oct 9, 2022Javascript Placement Series (Part 4)What is a Block? A Block is a compound statement which is used to group one or more statement. It groups the multiple lines and interprets as single line. Basically we can create Block with curly braces ( "{ }" ). We use block where we need to write...Discuss·1 like·38 readsJavaScript
Rishabh ThakurforRishabh Thakur's Blogrishabhthakur.hashnode.net·Sep 8, 2022Closures in JavascriptIntroduction to javascript Closures When the inner function accesses values of the outer function it is known as closure. The closure preserves the outer scope inside its inner scope. To understand the closures, you need to know how the lexical scop...Discuss·89 readsclosure
Kiprotich DominicforKiprotich Dominickiprotichdominic.hashnode.net·Mar 3, 2023Day 6 of 30 - Function Scope, Block Scope and Lexical ScopeFor the last 5 days, we have covered 5 topics in JS that are important for every developer to know. If you are new here you follow this link JS30IN30 to be able to read through the series. Scope Today we are going in-depth about the scope in Javascri...Discuss·61 readsJavascript 30 Concepts In 30JavaScript
Rohit MehtaforCode Culturer0hitm.hashnode.net·Apr 25, 2023Lexical Scoping: The Essential Concept for All ProgrammersProgramming languages provide us with a set of tools to work with data, perform operations on it, and automate various tasks. Two of the most important concepts in programming are lexical scoping and closures. These concepts are closely related and p...Discusslexical scope
Sudhakar Patilforbrainybloom.hashnode.net·Mar 25, 2023All about Arrow functions in JavascriptWhat are Arrow functions? Arrow functions in JavaScript are a shorter way of writing functions. They were introduced in ES6 (ECMAScript 2015) and provide a more concise syntax compared to traditional function expressions. The basic syntax of an arrow...Discuss·36 readsJavaScript
Kiprotich DominicforKiprotich Dominickiprotichdominic.hashnode.net·Mar 3, 2023Day 6 of 30 - Function Scope, Block Scope and Lexical ScopeFor the last 5 days, we have covered 5 topics in JS that are important for every developer to know. If you are new here you follow this link JS30IN30 to be able to read through the series. Scope Today we are going in-depth about the scope in Javascri...Discuss·61 readsJavascript 30 Concepts In 30JavaScript
Alok Ranjan SinghforAlok Ranjan Singh's blogaloksingh00.hashnode.net·Oct 9, 2022Javascript Placement Series (Part 4)What is a Block? A Block is a compound statement which is used to group one or more statement. It groups the multiple lines and interprets as single line. Basically we can create Block with curly braces ( "{ }" ). We use block where we need to write...Discuss·1 like·38 readsJavaScript
Dipanjan SurforDipanjan Sur blogsdipanjansur.hashnode.net·Sep 11, 2022Scope in JavascriptWhat is Scope To define something in one line it is always a good idea to see how docs represent it. so let's see what MDN docs see The scope is the current context of execution in which values and expressions are "visible" or can be referenced. so...Discuss·66 readsJavaScript
Rishabh ThakurforRishabh Thakur's Blogrishabhthakur.hashnode.net·Sep 8, 2022Closures in JavascriptIntroduction to javascript Closures When the inner function accesses values of the outer function it is known as closure. The closure preserves the outer scope inside its inner scope. To understand the closures, you need to know how the lexical scop...Discuss·89 readsclosure