Hungry big front node. JS Advanced Tutorial-javascript Basic problem-scope

Source: Internet
Author: User

"Hungry big front node. JS Advanced Tutorial" Address: Https://github.com/ElemeFE/node-interview

Scope in a sense, it is a difficult point, it needs you really understand JS participle, lexical analysis, grammar analysis, code generation, LHS query, RHS Query and other deep things.

If you don't know, you can read "JavaScript you don't know: roll up."

The difference between let and Var

1.let is only valid in a declared code block, and the Let declaration variable is used in {}, which is not accessible outside, which is the block-level scope

2. There are no variable promotion issues

3. Repeated statements will error

Hungry big front node. JS Advanced Tutorial-javascript Basic problem-scope

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.