JavaScript Interview Questions

(1) Default setting for the expires attribute of the document.cookie property?
Ans: The duration of the browser session.

(2) Which JavaScript feature uses JAR files?
Ans: Object signing

(3) If onKeyDown event returns false, the key-press event is cancelled.

(4) File is a Server-side JavaScript Object.

(5) FileUpload is a Client-side JavaScript Object.

0 comments: