V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
bzw875
V2EX  ›  JavaScript

满怀深深的恶意, javaScript 小测验,我只对第一题供 14 题

  •  
  •   bzw875 · 2014-12-31 12:57:14 +08:00 · 4815 次点击
    这是一个创建于 3644 天前的主题,其中的信息可能已经有所发展或是发生改变。
    38 条回复    2015-03-04 13:17:55 +08:00
    ccbikai
        1
    ccbikai  
       2014-12-31 13:08:52 +08:00
    对6题
    qdwang
        2
    qdwang  
       2014-12-31 13:11:01 +08:00
    You've got 6 answers wrong (#3, #4, #9, #11, #12, #14).
    Very good, but not quite there yet.

    感觉没什么意义
    liuhaotian
        3
    liuhaotian  
       2014-12-31 13:13:44 +08:00   ❤️ 7
    You've got 4 answers wrong (#6, #7, #8, #10).
    Very good, but not quite there yet.
    simple4wan
        4
    simple4wan  
       2014-12-31 13:22:09 +08:00   ❤️ 2
    You've got all 14 answers wrong (#1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14).
    Ouch.
    pertersonvv
        5
    pertersonvv  
       2014-12-31 13:23:38 +08:00
    You've got 9 answers wrong (#1, #2, #3, #6, #8, #9, #11, #13, #14).
    That's more than a half :(
    Arrowing
        6
    Arrowing  
       2014-12-31 13:26:29 +08:00
    You've got 2 answers wrong (#4, #7).
    Very good, but not quite there yet.

    这些测试题2年前左右就见过了,当时错了很多,都是基础的不会,后来恶补了一下
    已经很久没看了,现在重新测,发现还是有错的 0。0
    Arrowing
        7
    Arrowing  
       2014-12-31 13:28:14 +08:00
    再看了下题目,第4题是粗心错的,蛋疼。
    第七题果然左摇右摆还是选错了。
    hussion
        8
    hussion  
       2014-12-31 13:30:39 +08:00   ❤️ 1
    You've got 0 answers wrong.
    Flawless victory.
    xiaozi
        9
    xiaozi  
       2014-12-31 13:32:13 +08:00
    You've got 2 answers wrong (#2, #13).
    Very good, but not quite there yet.
    bzw875
        10
    bzw875  
    OP
       2014-12-31 13:39:58 +08:00
    唉,谁能讲解一下就好了,只知道自己错了,又不知道为什么是哪个答案。
    @hussion
    @xiaozi 你们好厉害!
    Arrowing
        11
    Arrowing  
       2014-12-31 13:45:03 +08:00
    @bzw875 F12自己运行一遍就知道答案了
    xiaozi
        12
    xiaozi  
       2014-12-31 13:56:56 +08:00
    @bzw875 我是后端工程师,其实这些都是基础的东西,你要是有耐心的话可以撸一遍javascript的文档。

    表示第2题是看错了。
    Biwood
        13
    Biwood  
       2014-12-31 14:14:59 +08:00
    You've got 9 answers wrong (#2, #3, #6, #8, #9, #11, #12, #13, #14).
    That's more than a half :(

    第2题居然没发现语法错误,
    第3题不熟悉delete的用法,
    第6题考闭包,本来选对了,犹豫一下改错了,
    第8题这种写法还不太熟,
    第9题以为不会进入if判断,没想到可以,不懂,
    第11题好懂,粗心了,
    第12题,函数重复声明,后面覆盖前面?
    第13题,不懂,
    第14题,不懂。
    messense
        14
    messense  
       2014-12-31 14:26:14 +08:00
    You've got 9 answers wrong (#2, #3, #6, #7, #8, #9, #11, #12, #14).
    That's more than a half :(
    kmvan
        15
    kmvan  
       2014-12-31 14:29:32 +08:00
    第九题有问题。FF 是 1number,答案没得选。
    kmvan
        16
    kmvan  
       2014-12-31 14:40:49 +08:00
    @kmvan 第九题有问题。FF 是 1number,答案没得选。
    因为你运行过一次,所以变量被改变了
    oaix
        17
    oaix  
       2014-12-31 14:55:34 +08:00
    @kmvan 你在前面定义了 `f` 吧
    yrdr
        18
    yrdr  
       2014-12-31 15:14:10 +08:00
    错了五个,没什么意义,虽然都是考基础,但有点偏
    khowarizmi
        19
    khowarizmi  
       2014-12-31 15:35:55 +08:00
    You've got 4 answers wrong (#2, #3, #9, #14).
    Very good, but not quite there yet
    hxtheone
        20
    hxtheone  
       2014-12-31 15:46:26 +08:00
    You've got 13 answers wrong (#1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #14).
    That's more than a half :(

    让我想起了大一时做的i+++++i,毕竟智硬 ╮(╯▽╰)╭
    digimoon
        21
    digimoon  
       2014-12-31 16:31:57 +08:00
    You've got all 14 answers wrong (#1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14).
    Ouch.

    Ouch!!
    FrankFang128
        22
    FrankFang128  
       2014-12-31 16:58:48 +08:00
    You've got 2 answers wrong (#8, #14).
    Very good, but not quite there yet.
    qdwang
        23
    qdwang  
       2014-12-31 16:58:56 +08:00
    这些题最没意义的地方在于,解释器实现方式变一下,可能答案就变了。。。。真蛋疼
    FrankFang128
        24
    FrankFang128  
       2014-12-31 17:00:06 +08:00
    第8题忘了选,第14题还真是不知道。。。
    kookxiang
        25
    kookxiang  
       2014-12-31 17:45:00 +08:00
    You've got 6 answers wrong (#3, #6, #7, #8, #9, #12).
    Very good, but not quite there yet.
    不玩了...
    breeswish
        26
    breeswish  
       2014-12-31 18:26:24 +08:00
    @qdwang 这几道题考的内容都是基于 ECMAScript 5 的,题目最开始也说过了…所以答案以后不会变的..
    luoweihua7sync
        27
    luoweihua7sync  
       2014-12-31 19:46:32 +08:00
    You've got 6 answers wrong (#1, #3, #4, #8, #9, #13).
    Very good, but not quite there yet.

    果然还是差的好远。等下好好理解下。。。
    Septembers
        28
    Septembers  
       2014-12-31 20:38:08 +08:00
    You've got 12 answers wrong (#1, #2, #3, #5, #6, #7, #8, #9, #11, #12, #13, #14).
    That's more than a half :(

    #4 不知道为什么错我选的是"undefined"
    #10不知道为什么错我选的是"string"

    以上做题基于脑内模拟完成
    arfaWong
        29
    arfaWong  
       2014-12-31 21:06:11 +08:00
    You've got all 14 answers wrong (#1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14).
    Ouch.
    jarlyyn
        30
    jarlyyn  
       2014-12-31 22:45:18 +08:00
    You've got 5 answers wrong (#2, #3, #8, #12, #14).
    Very good, but not quite there yet.

    一瞬间感觉自己很渣……
    haozhang
        31
    haozhang  
       2014-12-31 23:30:30 +08:00 via iPhone
    You've got 5 answers wrong (#2, #3, #8, #12, #14).
    Very good, but not quite there yet.
    welsmann
        32
    welsmann  
       2014-12-31 23:57:15 +08:00
    You've got 0 answers wrong.
    Flawless victory.
    深深的恶意
    Francost
        33
    Francost  
       2015-01-01 08:57:15 +08:00 via iPhone
    You've got 10 answers wrong (#4, #5, #6, #7, #8, #9, #10, #11, #13, #14).
    That's more than a half :(
    wcp1231
        34
    wcp1231  
       2015-01-01 10:02:06 +08:00
    You've got 2 answers wrong (#1, #3).
    Very good, but not quite there yet.

    第一题都错了!
    qdwang
        35
    qdwang  
       2015-01-01 14:25:07 +08:00 via Android
    @breeswish 原来如此 漏看了 不好意思
    zzgy
        36
    zzgy  
       2015-01-02 11:30:51 +08:00
    You've got 4 answers wrong (#2, #9, #13, #14).
    Very good, but not quite there yet.
    ryanking8215
        37
    ryanking8215  
       2015-01-02 19:22:08 +08:00
    作为一个js外行人:
    You've got 7 answers wrong (#1, #2, #4, #8, #9, #10, #11).
    Very good, but not quite there yet.

    话说js真是坑啊
    XadillaX
        38
    XadillaX  
       2015-03-04 13:17:55 +08:00
    ```
    You've got 2 answers wrong (#3, #9).
    Very good, but not quite there yet.
    ```
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1608 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:32 · PVG 00:32 · LAX 08:32 · JFK 11:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.