mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-14 10:20:40 +08:00
build
This commit is contained in:
@@ -82,14 +82,14 @@ comments: true
|
||||
var booleans = [5]bool{}
|
||||
```
|
||||
|
||||
=== "JavaScript"
|
||||
=== "JS"
|
||||
|
||||
```javascript title=""
|
||||
// JavaScript 的数组可以自由存储各种基本数据类型和对象
|
||||
const array = [0, 0.0, 'a', false];
|
||||
```
|
||||
|
||||
=== "TypeScript"
|
||||
=== "TS"
|
||||
|
||||
```typescript title=""
|
||||
// 使用多种基本数据类型来初始化数组
|
||||
|
||||
Reference in New Issue
Block a user