Nettuts+ Quiz #3: JavaScript

Nettuts+ Quiz #3: JavaScript

This entry is part 3 of 12 in the The Official Nettuts+ Quizzes Session
« PreviousNext »

Fancy yourself as a competent JavaScript developer? I’m back with another quiz today! Think you can get ‘em all and stake your claim to JavaScript glory?


A Few Notes

Ok, I may have exaggerated a bit in the intro. This quiz is best taken by those who are fluent with the basics of the language but not quite at the intermediate level yet. Most of the questions here are pretty simple once you’ve gone through the code carefully — the questions will look similar from a cursory look! And yes, the code is needlessly convoluted for a reason! This is not supposed to be something that you’ll really be seeing in real life. Hell, if I saw someone write code like this, I’d punch them in the teeth.

Most of the questions are about JavaScript basics merely wrapped around oddly annoying code for the sake of being interesting. This is just a fun quiz, not the developer equivalent of the bar or the MCATs! So relax and have fun! :)





A Friendly Plug

So how’d you do? If you liked today’s quiz, consider buying jQuizzy, the engine that powers it, on CodeCanyon. You’ll love it, I promise!

jQuizzy

Siddharth is Siddharth on Codecanyon
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Valstorm

    Well this is a pointless waste of time, you can get those kinds of quizzes on Myspace cant you?

  • Edward Longman

    Could you please elaborate on qus 9-12
    got half of them wrong and I can’t understand why,
    would quite like to know though

  • http://www.mediamost.hu Kardave

    @Edward Longman
    x+++y is the same as x++ + y.
    x++-++y+x++ is the same as x++ – ++y + x++
    if x=15, than x++ = 15 ,but now x=16
    if x=15, than ++x = 16, and x=16 too

  • Deoxys

    This quiz is indeed just stupid -.-

  • http://abhishekdev.posterous.com Abhishek Dev

    I was searching for the Error option in every question.

    Since console is not an Object of JavaScript Language but rather implemented by browser environments, using console in all the question would have thrown a “Reference Error”.

    BTW: Nice work to tickle mind of noobs

  • http://test test test

    test

  • Sree

    can you explain answre for below question
    var x=”5″, y=10;
    console.log(+x+y);

  • http://twitter.com/todvenn Tod

    100%

    Id have probably settled for the 74% had it not been for the mildly demeaning comment provided at the end of the jQuizzy Quiz…. ‘very average?’… cheeky.

    :)