javascript高级程序设计阅读收获(3.2)——关键字与保留字

1.关键字

  1. 关键字就是有特殊用途的字
  2. 如下:
    break,do,in,typeof,
    case,else,instanceof,var,
    catch,export,new,void,
    class,extends,return,while,
    cosnt,finally,super,with,
    continue,for,switch,yield,
    debugger,function,this,defalut,
    if,throw,delete,import,try

2.保留字

  1. 保留字目前还没有被javascript用上,他们是保留给将来做关键字用的。
  2. 始终保留:
    enum
  3. 严格模式下保留:
    implements,package,public,
    interface,protected,static,
    let,private
  4. 模块代码中保留:
    await
上一篇:WCF:为 SharePoint 2010 Business Connectivity Services 构建 WCF Web 服务(第 1 部分,共 4 部分)


下一篇:Python爬虫进阶 | 实战案例分析无限Debugger如何绕过