1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

docs(number): edit number

This commit is contained in:
ruanyf 2017-03-29 14:53:21 +08:00
parent ccefd899e5
commit 7e2b0c709f
2 changed files with 3 additions and 2 deletions

View File

@ -120,6 +120,7 @@ input[type=search] {
height: 18px;
text-align: left;
border: none;
outline: none;
}
input.searchButton {

View File

@ -658,11 +658,11 @@ ES2016 新增了一个指数运算符(`**`)。
指数运算符可以与等号结合,形成一个新的赋值运算符(`**=`)。
```javascript
let a = 2;
let a = 1.5;
a **= 2;
// 等同于 a = a * a;
let b = 3;
let b = 4;
b **= 3;
// 等同于 b = b * b * b;
```