Vibhu Bankacodeseijin.dev·Mar 17, 2024Enhancing FabricJS UX: Implementation with custom image URLs [Step-by-Step Tutorial]Intro I worked on FabricJS for enough time (during 2020–21) that it’s safe for me to say that I now have enough understanding of this library that I can play around with it and bring out interesting UX as well as DX (we developers too deserve to have...Discuss·1 like·36 readsJavaScript
Kapil YadavforJavaScript Basicsjavascriptbasics.hashnode.dev·Mar 11, 2024JavaScript Immediately invoked function expressions (IIFEs)In Javascript, Functions are first-class Objects, in simple words, functions can be passed as an argument (callback) or can be returned from another function. Function Declaration and Function Expression: Function Declaration:We can declare a functio...Discuss·1 likeJavaScript
Kumari Ranjana Yadavranjanayadav.hashnode.dev·Mar 5, 2024Learn closure in JavaScript with codeIn JavaScript, a closure is a combination of a function and the lexical environment within which that function was declared. This lexical environment consists of the variables that were in scope at the time the closure was created. In simpler terms, ...DiscussJavaScript
Parvez Rashidparvezrashid.hashnode.dev·Mar 3, 2024Closures in JavaScript - simplifiedOne of the few challenges that beginners face while learning JavaScript is the concept of closures. Although fairly simple, closures are one of the more confusing concepts to understand, especially when one tries to implement it in a project. In this...DiscussJavaScript
Kuruva Vinayoden.hashnode.dev·Mar 2, 2024JavaScriptEverything in JavaScript is done in Execution context which consist of memory component(Environment variables) and the code component. The separate Execution context is create for each function usage. After completing of running code the data will be...DiscussJavaScript
Adnan Ibrahimadnancodes01.hashnode.dev·Feb 27, 2024Closure in JavaScriptClosure : Closures in JavaScript are like small memory bubbles that remember the environment in which they are created. This means you can create a function that remembers and accesses the data from the parent function even when the parent function i...DiscussJavaScript
Garuba Abdul Azeezclosurejsbyazeezjim.hashnode.dev·Feb 26, 2024Closure In JavaScriptWhat is closure? Closure is a fundamental concept in JavaScript, which enables functions to remember and access their lexical scope even when they are executed outside of that scope. It occurs when a function retains access to variables from its oute...DiscussJavaScript
Dipto Biswasdiptobiswas.hashnode.dev·Feb 3, 2024Closures in RustIntroduction Closures are like functions but with more concise syntax. Examples Below code is how we write Closures. fn main() { let add = |x, y| x + y; let result = add(3, 5); println!("Result: {}", result); } It gives us the sum of tw...Discussrust lang
Anya Nkrudu Enkunkwa Ndahanyankrudu.hashnode.dev·Jan 6, 2024Execution Context, Variable Environment and Closures.Let us talk about the connection between the execution context, variable environments and the closure. Note, to better understand the closure and know how it works behind the scenes, we need to as well understand the execution context and the variabl...Discuss·1 likesoftware development
Sushant Pantsushantpant.com.np·Jan 2, 2024Captured variablesIntroduction variable : a symbolic name associated with a value and whose associated value may be changed - Wikipedia Variables are like placeholders tied to values. They are entities that can be captured, moved around, and tweaked. Taking about ca...Discuss·11 likes·87 readscapturedvariables