Coderbyte

PHOTO EMBED

Sat Dec 02 2023 09:25:22 GMT+0000 (Coordinated Universal Time)

Saved by @yash89

What will the following JavaScript code output?


(function() {

  var a = b = 5;

})();



console.log(b);
content_copyCOPY

https://coderbyte.com/candidate-assessment#submitted_code_solution