Question Description
I’m working on a Programming question and need guidance to help me study.
- What is the standard language specification that JavaScript is based on?
- What datatypes does JavaScript support? Is JavaScript strongly typed or loosely typed? Explain the difference.
-
What is the value for each of the following variables after the code is executed?
var i = "She swam " + 10 + " laps.";
var j = 10 + "5";
var k = 10 – "5";
var l = 10 * "5";
var m = Number("152");
var n = parseInt("0 dogs");
var b;
if (n) {
b = true;
} else {
b = false;
}
- Can JavaScript code executed in the Web browser access the computer’s filesystem? Explain.
