ES-Next & ECMAScript 2019
Data Types 8 种
js 基本数据类型 8 zhon
The latest ECMAScript standard defines eight data types:
Seven data types that are primitives:
- Boolean
- Null
- Undefined
- Number
- BigInt (新增)
- String
- Symbol
Object ()
- Object
BigInt
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#BigInt_type
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt
https://github.com/tc39/proposal-bigint#syntax
// BigInt
https://v8.dev/features/bigint
https://2ality.com/2017/03/es-integer.html
https://tc39.es/proposal-bigint/
https://caniuse.com/#search=bigint
https://stackoverflow.com/questions/53970655/how-to-convert-bigint-to-number
refs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
ecmascript 2019 pdf
Draft ECMA-262 / August 7, 2019
https://www.ecma-international.org/publications/standards/Ecma-262.htm
- 10th edition, June 2019
https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
https://www.ecma-international.org/ecma-262/10.0/index.html#Title
- 9th Edition / June 2018
https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
- 8th Edition / June 2017
old
https://javascript.info/types#summary
https://javascript.ruanyifeng.com/grammar/types.html
https://juejin.im/post/5d5676a5e51d4561ae4da607
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!