CategoryResourceRepost/极客时间专栏/JavaScript核心原理解析/结束语/结课测试 | 这些JavaScript知识,你真的掌握了吗?.md
louzefeng d3828a7aee mod
2024-07-11 05:50:32 +00:00

36 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

你好,我是周爱民。
《JavaScript核心原理解析》已经完结一段时间了。在这段时间里我依然收到了很多用户的留言很感谢你一直以来的认真学习和支持
为了帮助你检验自己的学习效果我特别给你准备了20道结课测试题例题如下
```
例题1. 如下代码中是“直接调用的eval”的有___。
Awith ({eval}) eval(x)
B({eval}).eval(x)
C(0,eval)(x)
Dglobal.eval(x)
参考《JavaScript核心原理解析》第21讲。
```
```
例题2. 如下用于动态执行的代码将执行在当前上下文中的有___。
AFunction('let x = 100')()
BFunction('var x = 100')()
C(0, eval)('var x = 100')
Dwith ({eval}) eval('var x = 100')
参考《JavaScript核心原理解析》第22讲。
```
接下来的这套测试题中共有 20 道题目包括19道单选题1道多选题满分 100 分,系统会自动评分。
点击下面按钮,马上开始测试吧!
[<img src="https://static001.geekbang.org/resource/image/28/a4/28d1be62669b4f3cc01c36466bf811a4.png" alt="">](http://time.geekbang.org/quiz/intro?act_id=186&amp;exam_id=434)