
JavaScript是构建跨平台工作的应用程序时需要了解的语言,从语言规范的角度了解JS非常重要。
在本课程中,我们将介绍范围最广的JavaScript主题。该课程的灵感来自ECMAScript规范的第8章。尽管规范的第8章讨论了执行上下文,Agents,Job,Executing Context Stack等,但是在本课程中,我们将更加靠近词汇环境及其子部分。
范围系统是JavaScript最强大的支柱之一。范围不仅触及执行阶段,而且从代码编写开始,并在编译阶段扩展其根。
该课程讨论了范围的创建方式以及JavaScript引擎如何处理代码结构以得出蓝图的所有细节,然后将蓝图移交给执行引擎。我们将深入了解编译器如何处理程序以及哪些步骤导致了作用域的创建。
我们将介绍代码模式的基础知识,以帮助我们创建更好的组织代码。我们将研究函数表达式,函数声明,块,模块和脚本如何成为作用域系统的一部分。我们将详细介绍立即调用的函数表达式(IIFE)的工作方式和原因。我们还将研究吊装,到我们到达这里时,您将已经了解了为什么吊装是某种东西,而实际上却不是。
最后,我们将看一下ES6的基本功能,即let,const和var,并理解为什么它们的行为以及使用它们的效果如何。在本课程中,您将学到的知识将使您成为一名更强大的JavaScript开发人员,提高您编写可靠的JavaScrip代码的能力,并带您了解JavaScript的一些高级概念,例如闭包,高阶函数和模块模式。
Scope is one of the strongest pillar of JS & is essential to master advanced JS topics and code organisation skill.
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 8 lectures (2h 10m) | Size: 2.14 GB
What you’ll learn:
Deep understanding of JavaScript’s Scope System and the compilation phase of JS programs
How JS Scope is organised using function declaration, function expressions and blocks.
Why IIFE works the way it does, what hoisting really is and how can we effectively organise our code using the knowledge of scopes.
Requirements
Be able to understand basic JavaScript program
Description
JavaScript is that language that you need to know in order to build applications that work across the platforms and knowing about the JS from the point of the language specification is really important.
In this course we will cover the most neglected topic in JavaScript which is scopes. The course is heavily inspired from the Chapter 8 of the ECMAScript Specification. Although the Chapter 8 of the spec talk about Execution context, Agents, Job, Executing Context Stack et al, however in this course we will stick closer to the lexical environment and its sub parts.
Scopes system is one of the strongest pillars of JavaScript. Scopes not only touches the execution phase but it starts from the code authoring and extends its root in the compilation phase.
The course discusses every detail of how the scope is created and how does JavaScript engine deal with the code structure to come up with a blueprint which is then handed over to the Execution Engine. We will go in-depth in understanding how our program is processed by the compiler and what steps lead to the creation of scope.
We will cover the fundamentals of code patterns that helps us create a better organized code. We will look at how function expression, function declaration, blocks, modules and scripts are part of the scope system. We will cover in-depth detail of how and why immediately invoked function expressions (IIFE) works. We will also look at hoisting and by the time we reach here, you would have already understood why hoisting is something, that it actually is not.
Finally we will look at the essential ES6 feature i.e. let, const and var and understand why their behavior and what are the effects of using one over the other. What you will learn in this course will make you a stronger JavaScript developer, improve your abilities in writing solid JavaScrip code and it will lead you into understanding some of advanced concepts of the JavaScript like closures, higher order functions and module pattern.
Who this course is for
Beginner JS developers who would want to learn JavaScript
Advanced/Intermediate JS developers who want to get deeper understanding of scope system and compilation phase of JS programs
JS developers who want to start exploring the new ES6 features
JS developers who want to understand how scopes works in JavaScript

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/8681.html