Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
(, Sun 1 Apr 2001, 1:00)
« Go Back | See The Full Thread
But I don't understand the question entirely, "this" will never equal "that", unless you change "this" into "that" when declaring it or afterwards, such as
var word = "this";
word = "that";
if (word == "that") { console.log("word is equal to that"); }
Or
var word = "that";
if (word === "that") { console.log("word is equal to that"); }
The question they're doing is like saying "Change the sentence 'hello world' into 'goodbye world' " and then just awnsering "Change the world 'hello' to 'goodbye' ".
(, Wed 11 Jan 2012, 21:04, Reply)
« Go Back | See The Full Thread