console.log('abc is an object and does not return null value');
Also, undefined and null are two distinct types: undefined is a type itself (undefined) while null is an object.
16. How about 2+5+"8"?
We can declare an array like this
var scripts = new Array();
We can add elements to this array like this
scripts = "ASP";
scripts = "HTML";
We also can create an array like this
var no_array = new Array(21, 22, 23, 24, 25);
19. How do you assign object properties?
20. What’s a way to append a value to an array?
21. What is this keyword?
return String.prototype.concat.apply('', arguments);
That isnt what we want. We just want to wait until the DOM is loaded and is able to be manipulated. onDocumentReady allows the programmer to do that.
document.getElementById(“myText”).className = “anyclass”;
In order to detect the operating system on the client machine, the navigator.appVersion
string (property) should be used.