Modern Java Script Programming

Question 1

Assess the code snippet below.

Modern Javascript Programming

(i) What is the value of a, b, and c?
(ii) Explain the reason for each outcome.

Question 2

Assess the code snippet below.

Modern Javascript Programming

(i) What is the output?
(ii) Why?