JavaScript面试题.doc

JavaScript面试题.doc

ID:49533028

大小:59.50 KB

页数:13页

时间:2020-03-02

JavaScript面试题.doc_第1页
JavaScript面试题.doc_第2页
JavaScript面试题.doc_第3页
JavaScript面试题.doc_第4页
JavaScript面试题.doc_第5页
资源描述:

《JavaScript面试题.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、1. WhysoJavaScriptandJavahavesimilarname?A. JavaScriptisastripped-downversionofJavaB. JavaScript'ssyntaxislooselybasedonJava'sC. TheybothoriginatedontheislandofJavaD. Noneoftheabove 2. WhenauserviewsapagecontainingaJavaScriptprogram,whichmachineactuallyexecutesthescript?A. TheUser'smachine

2、runningaWebbrowserB.  TheWebserverC. AcentralmachinedeepwithinNetscape'scorporateofficesD. Noneoftheabove 3. ______JavaScriptisalsocalledclient-sideJavaScript.A. MicrosoftB. NavigatorC. LiveWireD. Native 4. __________JavaScriptisalsocalledserver-sideJavaScript.A. MicrosoftB.  NavigatorC. L

3、iveWireD. Native 5. WhatarevariablesusedforinJavaScriptPrograms?A. Storingnumbers,dates,orothervaluesB.  VaryingrandomlyC. Causinghigh-schoolalgebraflashbacksD. Noneoftheabove 6. _____JavaScriptstatementsembeddedinanHTMLpagecanrespondtousereventssuchasmouse-clicks,forminput,andpagenavigati

4、on.A. Client-sideB.  Server-sideC. LocalD. Native 7. WhatshouldappearattheveryendofyourJavaScript?ThetagA.  TheB.   The