热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

JavaScript 面试题与答案

Test your skills through the online practice test: JavaScript Quiz Online Practice Test

相关差异对比

问题 46. What is a prompt box?

A prompt box allows the user to enter input by providing a text box.

这有帮助吗? 添加评论 查看评论
 

问题 47. Can javascript code be broken in different lines?

Breaking is possible within a string statement by using a backslash \ at the end but not within any other javascript statement.
that is ,
document.write("Hello \ world");
is possible but not document.write \
("hello world");

这有帮助吗? 添加评论 查看评论
 

问题 48. To put a "close window" link on a page?

<a href='javascript:window.close()' class='mainnav'> Close </a>

这有帮助吗? 添加评论 查看评论
 

问题 49. How to hide javascript code from old browsers that dont run it?

Use the below specified style of comments

版权所有 © 2026,WithoutBook。
JavaScript vs JqueryJavaScript vs VBScriptJavaScript vs TypeScript