Home
Flashcards
Preview
JavaScript
Home
Get App
Take Quiz
Create
window.onload and onDocumentReady
the whole set of docs inlcuding css and images.
DocumentOnReady is when the DOM object is ready
== and ===
checks for value equality and type equality.
undefined value and null.
A value that has not been assigned and null value is the value that has been assigned and is null.
How do you change the style/class on any element?
document.getElementById(“myText”).className = “anyclass”
document.getElementById(“myText”).style.fontSize = “20″
what is closure in javascript?
A closure is the local variables for a function – kept alive after the function has returned,
Closures reduce the need to pass state around the application.
What datatypes are used in javascript?
Number, String, Undefined, null, Boolean
What is the difference between innerHTML and append() in JavaScript?
InnerHTML is not standard, and its a String. It is faster and less versbose.
Dom is not a stringĀ
Author
Anonymous
ID
179819
Card Set
JavaScript
Description
Interview javascript
Updated
2012-10-25T08:56:47Z
Home
Flashcards
Preview