web design week 4

May 11th, 2013
Anonymous
Category:
Calculus
Price: $25 USD

Question 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.

Tutor Answer

(Top Tutor) svenu563
School: University of Maryland

Studypool has helped 1,244,100 students

Review from student
Anonymous
" Awesome! Exactly what I wanted. "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1821 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors