File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33JavaScript 的类型分为两种:原始数据类型([ Primitive data types] [ ] )和对象类型(Object types)。
44
5- 原始数据类型包括:布尔值、数值、字符串、` null ` 、` undefined `  以及 [ ES6 中的新类型 ` Symbol ` ] [ ] 。
5+ 原始数据类型包括:布尔值、数值、字符串、` null ` 、` undefined `  以及 ES6 中的新类型 [ ` Symbol ` ] [ ]  和  [ ` BigInt ` ] [ ] 。
66
77本节主要介绍** 前五种** 原始数据类型在 TypeScript 中的应用。
88
@@ -150,6 +150,7 @@ let num: number = u;
150150-  [ ES6 中的模板字符串] [ ] 
151151
152152[ Primitive data types ] : https://developer.mozilla.org/en-US/docs/Glossary/Primitive 
153- [ ES6 中的新类型 `Symbol` ] : http://es6.ruanyifeng.com/#docs/symbol 
153+ [ `Symbol` ] : http://es6.ruanyifeng.com/#docs/symbol 
154+ [ `BigInt` ] : https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigInt 
154155[ ES6 中的二进制和八进制表示法 ] : http://es6.ruanyifeng.com/#docs/number#二进制和八进制表示法 
155156[ ES6 中的模板字符串 ] : http://es6.ruanyifeng.com/#docs/string#模板字符串 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments