دانلود کتاب You Don't Know JS Yet: Scope & Closures
by Kyle Simpson
|
عنوان فارسی: شما هنوز JS را نمی دانید: محدوده و محدودیت ها |
دانلود کتاب
جزییات کتاب
Scope & Closures, the second book in the new edition series, dives deep into how and why to organize variables into different buckets of scope, limiting scope over-exposure and improving code maintainability. On top of lexical scope, closure empowers functions with memory, preserving variables across calls. Modules leverage scope and closures to encapsulate data and behavior.
In Scope & Closures, you'll dig into:
Nesting lexical scopes with functions and blocks, to limit scope exposure of variables
Functions remembering variables through closure
Modules, one of the most important code organization patterns in programming