> For the complete documentation index, see [llms.txt](https://shenjunhong.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shenjunhong.gitbook.io/blog/js.md).

# JS

- [ES6 之 Set 和 Map](https://shenjunhong.gitbook.io/blog/js/es6-zhi-set-he-map.md)
- [let 和 const 声明常见概念](https://shenjunhong.gitbook.io/blog/js/es6-zhi-let-he-const-chang-jian-gai-nian.md)
- [元编程](https://shenjunhong.gitbook.io/blog/js/es6-zhi-yuan-bian-cheng-ni-hao.md)
- [ES6之字符串的扩展](https://shenjunhong.gitbook.io/blog/js/es6-zhi-zi-fu-chuan-de-kuo-zhan.md)
- [ES6 之异步流程的前世今生（上）](https://shenjunhong.gitbook.io/blog/js/es6-zhi-yi-bu-liu-cheng-de-qian-shi-jin-sheng-shang.md)
- [ES6之异步流程的前世今生（下）](https://shenjunhong.gitbook.io/blog/js/es6-zhi-yi-bu-liu-cheng-de-qian-shi-jin-sheng-xia.md)
- [ES6 之模块你知吗](https://shenjunhong.gitbook.io/blog/js/es6-zhi-mo-kuai-ni-zhi-ma.md)
- [ES6 之解构赋值与箭头函数的妙用](https://shenjunhong.gitbook.io/blog/js/es6-zhi-jie-gou-fu-zhi-yu-jian-tou-han-shu-de-miao-yong.md)
- [迭代器](https://shenjunhong.gitbook.io/blog/js/es6-zhi-die-dai-qi.md)
- [ES5 之原型（一）](https://shenjunhong.gitbook.io/blog/js/es6-zhi-na-xie-nian-wo-men-dou-mi-mang-de-yuan-xing-he-lei-shang.md)
- [ES6之类（二）](https://shenjunhong.gitbook.io/blog/js/es6-zhi-na-xie-nian-wo-men-dou-mi-mang-de-yuan-xing-he-lei-xia.md)
- [es7之装饰器](https://shenjunhong.gitbook.io/blog/js/es7-zhi-zhuang-shi-qi-liao-jie-yi-xia.md)
- [es6之数组详解](https://shenjunhong.gitbook.io/blog/js/es6-zhi-shu-zu-xiang-jie.md)
- [js之this指向](https://shenjunhong.gitbook.io/blog/js/js-zhi-this-zhi-xiang.md)
- [对象](https://shenjunhong.gitbook.io/blog/js/js-zhi-dui-xiang.md)
- [vue项目配合使用canvas联动](https://shenjunhong.gitbook.io/blog/js/js-zhi-zhi-xing-huan-jing.md)
- [本文解决痛点：对象里面是否有值](https://shenjunhong.gitbook.io/blog/js/pan-duan-object-dui-xiang-shi-fou-wei-kong.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shenjunhong.gitbook.io/blog/js.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
