Skip to content

Commit

Permalink
docs(number): edit number
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Mar 29, 2017
1 parent ccefd89 commit 7e2b0c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ input[type=search] {
height: 18px;
text-align: left;
border: none;
outline: none;
}

input.searchButton {
Expand Down
4 changes: 2 additions & 2 deletions docs/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
```
Expand Down

0 comments on commit 7e2b0c7

Please sign in to comment.