You are browsing the archive for not.

JavaScript Quiz #11

November 2, 2013 in JavaScript

Assume that we have the following short JavaScript code:

    var x = !!"Hello" + (!"world", !!"from here!!");

Will this code succeed or fail? and if it succeeds, what is the output of the alert?

Read the complete answer

Skip to toolbar