Last Updated: 27 Jun 2023
|
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
people:hr:good-technical-interview-questions:javascript-questions [Aug 20, 2010 06:22 AM] dordal |
people:hr:good-technical-interview-questions:javascript-questions [Jun 26, 2023 02:20 AM] 111.225.148.52 removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | = JavaScript Interview Questions = | ||
+ | == Basic JavaScript == | ||
+ | |||
+ | * Give a high level overview of how JavaScript interacts with the DOM. | ||
+ | * What are some different ways that JavaScript code can be embedded into or linked into an XHTML page? | ||
+ | * Are objects passed by value or by reference? Does the type of object matter? | ||
+ | * Is JavaScript an object-oriented language? Why or why not? | ||
+ | * What is your favorite way to debug JavaScript? | ||
+ | * What is JSON? What are some common uses of JSON? | ||
+ | * What is the difference between '' | ||
+ | * What does the '' | ||
+ | * What will the following code do? <code javascript> | ||
+ | function printMe() { var b = 5; alert (a+b); } | ||
+ | var a = 3; var b = 2; | ||
+ | printMe(); | ||
+ | alert(a+b); | ||
+ | </ | ||
+ | * What is a '' | ||
+ | * What is the difference between window.onload and onDocumentReady? | ||
+ | * What are a few different ways to attach handlers (e.g. click, blur, etc.) to a DOM element? Are any better than the others? | ||
+ | * What's unique about functions in JavaScript? (The answer you're looking for here is that they' | ||
+ | * What's an anonymous function? | ||
+ | * What is JavaScript namespacing? | ||
+ | |||
+ | == jQuery == | ||
+ | * Basic: what is jQuery? | ||
+ | * How do you select a DOM element (or elements) in jQuery? | ||
+ | * What does it mean to chain functions in jQuery? |