JavaScript: Scope 预览

JavaScript: Scope

讲师: Emmanuel Henri 531 位用户赞了
时长: 43 分钟 技能水平: 中级 发布日期: 2018/8/15

课程详情

JavaScript scope determines how variables can be accessed throughout your code. There are two scopes: global and local. Global variables are accessible from anywhere; local variables are accessible only from within the function or block the variables are declared. Scope can be confusing, especially when factors such as hoisting and closures enter the mix. This course provides a thorough introduction to the scope options for JavaScript variables, alongside challenges that help you practice what you've learned. LinkedIn Learning instructor Emmanuel Henri helps you properly scope your variables, mitigate the effects of hoisting, and declare local variables inside non-function code such as if statements using block scope.

您将获得的技能

获取证书,展示成果

分享学到的内容,成为理想行业的达人,获取证书,展示您在课程中所学的知识。

证书范例

结业证书

  • 在领英档案中的“资格认证”版块下展示

  • 下载或打印为 PDF,与他人分享

  • 以图片形式在线分享,展现您的技能

了解讲师

学员评价

4.6 分,最高 5 分

147 条评分
  • 5 星
    当前数据: 108 73%
  • 4 星
    当前数据: 23 16%
  • 3 星
    当前数据: 9 6%
  • 2 星
    当前数据: 3 2%
  • 1 星
    当前数据: 4 3%

内容

课程内容

  • 边学边练 1 个练习文件
  • 随时随地学习 可在平板电脑和手机上访问

相似课程

下载课程

使用 iOS 或安卓版领英学习 APP,即可在移动设备上离线观看课程。