Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
KieSun committed Mar 29, 2021
1 parent 82abdda commit 4b6c37b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,18 @@

### 今日原题

[第十四题:JS 类型](https://github.com/KieSun/fucking-frontend/issues/19)

请问 JS 基本类型和对象类型中各有哪些类型?

对于这些类型我们如何判断具体的类型。比如数组是对象类型,可以通过 `Array.isArray` 等方法判断是数组。
[第十七题:以下代码输出什么?为什么?](https://github.com/KieSun/fucking-frontend/issues/22)

```js
var a = 0
var b = async () => {
a = a + await 10
console.log('2', a) // -> ?
}
b()
a++
console.log('1', a) // -> ?
```

## 前端十五万字面试资料

Expand Down

0 comments on commit 4b6c37b

Please sign in to comment.