ES-Next & ES10 & ECMAScript 2019 All In One
ES-Next & ES10 & ECMAScript 2019 All In One
Data Types 8 种 / js 基本数据类型 8 种
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
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
demos
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/11365400.html
未经授权禁止转载,违者必究!