Skip to main content

Posts

Featured

Closures in Javascript

In simple terms,a function in javascript always remembers the variables and properties outside it also called as its lexical environment. Simply means that function in javascript is binded to outer environment called as closures. ๐—ฆ๐—ผ๐—บ๐—ฒ ๐—ฃ๐—ผ๐—ถ๐—ป๐˜๐˜€ ๐—ง๐—ผ ๐—จ๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ :- 1. ๐—›๐—ฒ๐—ฟ๐—ฒ ๐—ถ๐—ป ๐—ฒ๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ ๐˜„๐—ฒ ๐—ต๐—ฎ๐˜ƒ๐—ฒ ๐˜๐—ต๐—ฟ๐—ฒ๐—ฒ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€. ๐—ข๐˜‚๐˜๐—ฒ๐—ฟ , ๐—ถ๐—ป๐—ป๐—ฒ๐—ฟ ๐—ฎ๐—ป๐—ฑ ๐—บ๐—ผ๐˜€๐˜๐—œ๐—ป๐—ป๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป. 2. ๐—ช๐—ต๐—ฒ๐—ป ๐˜„๐—ฒ ๐—ฒ๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ฒ ๐—ข๐˜‚๐˜๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐˜ ๐—ฟ๐—ฒ๐˜๐˜‚๐—ฟ๐—ป๐˜€ ๐˜๐—ต๐—ฒ ๐—ถ๐—ป๐—ป๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—ฎ๐—ป๐—ฑ ๐˜„๐—ฒ ๐˜€๐˜๐—ผ๐—ฟ๐—ฒ ๐—ถ๐˜ ๐—ถ๐—ป ๐—ถ๐—ป๐—ป๐—ฒ๐—ฟ ๐˜ƒ๐—ฎ๐—ฟ๐—ถ๐—ฎ๐—ฏ๐—น๐—ฒ. 3. ๐—ช๐—ต๐—ฒ๐—ป ๐˜„๐—ฒ ๐—ฒ๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ฒ ๐˜๐—ต๐—ฒ ๐—ถ๐—ป๐—ป๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐˜ ๐—ฟ๐—ฒ๐˜๐˜‚๐—ฟ๐—ป๐˜€ ๐˜๐—ต๐—ฒ ๐—บ๐—ผ๐˜€๐˜๐—œ๐—ป๐—ป๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป. 4. ๐—•๐˜‚๐˜ ๐˜„๐—ต๐—ฒ๐—ป ๐—ช๐—ฒ ๐—ฒ๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ฒ ๐—บ๐—ผ๐˜€๐˜๐—œ๐—ป๐—ป๐—ฒ๐—ฟ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐˜ ๐—ต๐—ฎ๐˜€ ๐˜๐—ผ ๐—ฐ๐—ผ๐—ป๐˜€๐—ผ๐—น๐—ฒ ๐—น๐—ผ๐—ด ๐˜๐—ต๐—ฒ ๐—ผ๐˜‚๐˜๐—ฝ๐˜‚๐˜. 5. ๐—ก๐—ผ๐˜„ ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป ๐—ฐ๐—ผ๐—บ๐—ฒ๐˜€ ๐—ฑ๐—ผ๐—ฒ๐˜€ ๐˜๐—ต๐—ถ๐˜€ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—ต๐—ฎ๐˜ƒ๐—ฒ ๐˜ƒ๐—ฎ๐—ฟ๐—ถ๐—ฎ๐—ฏ๐—น๐—ฒ๐˜€ (๐—ป๐—ฎ๐—บ๐—ฒ ๐—ฎ๐—ป๐—ฑ ๐—ฐ๐—ถ๐˜๐˜†) NO...

Latest posts

Most Important Topic For Interview Perspective is ACID properties in DBMS.

What is DNS Server?

What is Flutter?Why it is famous today?

What is Kotlin? The Java alternative

CS Core Interview topics for Cracking Product based Companies

Importance Of Language In Today World!

Best field of computer science!

What important theoretical subject you have to learn to crack any Software company

Top 5 best platforms that i prefer to practice to competitive programming

What exactly is competitive programming