web design

User Generated

kpbek97

Programming

Description

  1. What is the standard language specification that JavaScript is based on?
  2. What datatypes does JavaScript support? Is JavaScript strongly typed or loosely typed? Explain the difference.
  3. 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;

    }

  4. Can JavaScript code executed in the Web browser access the computer’s filesystem? Explain.


User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Similar Content

Related Tags