FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

update array function push pop shift unshift image · dahui4dev/JavaScript-Example@8da3be7 · GitHub

Commit 8da3be7

Browse files
committed
update array function push pop shift unshift image
1 parent c609080 commit 8da3be7

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

‎article/005-reference-object-array.md‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -228,18 +228,9 @@ console.log(person) // 移除后的数组 [ 'D
228228

229229
正向队列使用:push() shift() 从尾巴先进一个,再从头出去一个
230230

231-
```javascript 1.8
232-
233-
// TODO: 待补图说明
234-
235-
```
236231
反向队列使用:unshift() pop() 从头进去一个,再从尾巴先出一个
237232

238-
```javascript 1.8
239-
240-
// TODO: 待补图说明
241-
242-
233+
![队列图示](./img/005-queue.png)
243234

244235

245236

‎article/img/005-queue.png‎

277 KB
LoadingViewer requires iframe.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL