Skip to content
Junior–Senior160 views

What will the console print in example №14

Task condition

Determine what result will appear in the console when executing the following code:

(function foo() {
  let strNum = "3";
  let num = 3;
  console.log(strNum + num);
})();
Frontend tasks in the code trainer