var a = 44; (function(){ var b = 44; a = '55'; (function(){ var c = 11; alert((a+b)/c); })(); })();
var a =44; var b = '55' a+ b // '4455' - string
var c = 11; return ((a+b)/c); // 504
Login in to like
Login in to comment
@nbkeeprocki54 thanks, updated!
2018 Sep 23, 7:33:05 AM
a + b = "5544", not "4455" in explanation
2018 Jul 2, 9:01:29 AM
Russian text
2018 Jun 21, 1:15:44 PM
or Read more about JavaScript Quizzes
Login in to like
Login in to comment