xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

ES-Next & ECMAScript 2019

Data Types 8 种

js 基本数据类型 8 zhon

The latest ECMAScript standard defines eight data types:

Seven data types that are primitives:

  1. Boolean
  2. Null
  3. Undefined
  4. Number
  5. BigInt (新增)
  6. String
  7. Symbol

Object ()

  1. 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

https://tc39.es/ecma262/

Draft ECMA-262 / August 7, 2019

https://www.ecma-international.org/publications/standards/Ecma-262.htm

  1. 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

https://www.ecma-international.org/ecma-262/10.0/index.html#sec-ecmascript-language-types-number-type

  1. 9th Edition / June 2018

https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf

  1. 8th Edition / June 2017

https://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262 8th edition June 2017.pdf


old

https://javascript.info/types#summary

https://javascript.ruanyifeng.com/grammar/types.html


https://juejin.im/post/5d5676a5e51d4561ae4da607


©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/11365400.html