- typescript(ts)
- arguments: 隐藏参数
- boolean:布尔值
- break: 打断
- continue :继续
- switch...case...:条件语句
- try..catch...: 尝试执行代码 如果有错误就catch(捕捉)
- class :类
- const:常量
- let :变量
- var :变量
- debugger:调试
- default:默认 export defalut
- delete:删除
- do..while..:循环
- for:循环
- if ...else .. :如果..其他...
- export:导出
- extends:扩展 继承
- false :否
- finally:最后
- function:函数
- import导入 ... export:导出
- instanceof :判断是否在实例上;
- new:实例化
- null:空
- return:返还
- static:静态
- super:超级
- this: 这
- throw:抛出
- typeof:类型判断
- Array:数组
- Date:日期
- prototype:原型
- Math:数学
- length:长度
- Object:对象
- undefined:没有值
--------
关键字 :
| abstract : 抽象 | arguments : 参数 | boolean : 布尔值 | break : 打断 | byte : 比特(单位) |
| ---------------- | ----------------- | -------------------- | ------------------------- | -------------------- |
| case : 案例 | catch : 捕获 | char : 字符串 | class* : 类 | const : 常量 |
| continue : 继续 | debugger : 调试器 | default : 默认 | delete : 删除 | do : 做 |
| double : 两个 | else : 另外 | enum* : 枚举 | eval : 将字符串编译成代码 | export : 出口 |
| extends* : 扩展 | false : 否 | final : 最终 | finally : 最后 | float : 浮点型 |
| for : 循环 | function : 函数 | goto : 去 | if : 如果(条件) | implements : 工具 |
| import* : 入口 | in :在里面 | instanceof : 运算符 | int : 整数 | interface :接口 |
| let *: 声明 | long : 长 | native : 本地 | new : 实例运算 | null : 空 |
| package : 包 | private : 私有 | protected : 受保护的 | public : 发布 | return : 返回 |
| short : 短 | static : 静止的 | super* : 超级 | switch : 转换多分支关键字 | synchronized : 同步 |
| this : 指针 | throw : 抛出 | throws : 抛出(负数) | transient : 短暂的 | true : 真 |
| try : 尝试 | typeof : 类型判断 | var : 声明 | void : 无效 | volatile : 异变的 |
| while : 当(循环) | with: 和 | yield : 产量 | | |
必须记忆的单词:
| Array | Date | eval | function | hasOwnProperty |
| --------- | -------- | -------- | ------------- | -------------- |
| Infinity | isFinite | isNaN | isPrototypeOf | length |
| Math | NaN | name | Number | Object |
| prototype | String | toString | undefined | valueOf |