`
dingchao.lonton
  • 浏览: 49933 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

JavaScript Test – Round One

 
阅读更多

老外技术牛就在于他们的高标准,都是一些很基础的问题,但是不一定答得上来。尝试一下,try and try

文章转载自:http://www.hacksparrow.com/hack-sparrows-javascript-test-round-one.html

 

Applying for a job somewhere as a JavaScript developer? Or just wanna see how much of JavaScript you know? Here is something useful and fun for you.

Let's assume I won't consider anyone for the next round, who fails to answer atleast 95% of these questions. Yes, this is the first round :twisted:

1. What are some negative stuff about JavaScript, the language?
2. What can you do to mitigate the effects of those negative stuff?
3. What are the primitive data types in JavaScript?
4. What are auto-executing functions? Any uses? Popular examples?
5. List all the objects that are passed by value in JavaScript.
6. How is ECMASCript related to JavaScript?
7. What is the shortcut for creating an array and an object?
8. How do you implement namespace in JavaScript?
9. What is a closure?
10. What does the this keyword refer to?
11. Describe the event model of a browser? Any differences in implementation?
12. What is the biggest drawback of AJAX?
13 What is the difference between AJAX in Internet Explorer and other browsers?
14. Who invented AJAX?
15. How to you convert a stringified number to an actual number?
16. How do you convert a number to its stringified version?
17. How do you convert a decimal number to its hex equivalent? To binary?
18. How do you print the character 1st character of the ASCII table?
19. How do you print Arabic characters in JavaScript, without copy pasting?
20. What is a callback function?
21. How do you upload an image without refreshing the page you are on?
22. How do you prevent a form from being submitted?
23. Name some popular JavaScript libraries.
24. What is a JavaScript engine?
25. What would be the simplest code to crash a browser?
26. What is the difference between window.name and name?
27. What are apply() and call()?
28. How do you add an item at the beginning of an array?
29. How do you take out an item from the middle of an array?
30. How do you get the last item of an array?
31. How do you get the last three items of an array?
32. How do you reverse an array?
33. How do you join two arrays?
34. What is reduceRight()?
35. What are the ways to include JavaScript in an HTML document?
36. What are the ways to add event listeners?
37. How do you create custom event in JavaScript?
38. What happens when you don't use the var keyword while declaring a variable?
39. What does delete do?
40. Can you name all the reserved keywords in JavaScript? Try.
41. What is circular reference? Is it a good feature or a bad feature? Why?
42. What is the point of commenting your code?
43. How do you create timers in JavaScript? How do you stop them?
44. How do you draw using JavaScript in the browser?
45. Have you heard of Node.js?
46. What is garbage collection?
47. How do you implement Object-Oriented programming in JavaScript?
48. How do you implement prototypal inheritance in JavaScript?
49. What is a functional programming language? Name some?
50. Is there any difference between assigning a function to a variable and declaring a function?
51. Where can I use the break statement?
52. List all the values that will evaluate to false in JavaScript.
53. Do you use FireBug? What for? What else can it be used for?
54. How do you get the third character of a word?
55. How will you capitalize the first character of a word? The first character of all the words in a sentence?

So, did you qualify for the next round or not?

Don't worry if you could not answer all the questions. Acquiring knowledge and skill takes effort and time. Just work on it and keep working on. I firmly believe learning anything is a life-long process. No one knows everything. No one knows what they don't know. There are probably tons of stuff I don't know about JavaScript. But once I discover what I don't know, I always make sure I don't don't know them anymore.

You can find the answers to these questions on the Web, just google them. All the best!

分享到:
评论

相关推荐

    基于JavaScript的JavaTestOne测试专用项目设计源码

    本项目为JavaTestOne测试专用的JavaScript源码项目,综合运用JavaScript、HTML、Java和CSS等编程语言,总计包含1620个文件。其中,JavaScript文件478个,HTML文件223个,XML文件214个,Java文件213个,图片文件...

    JavaScript Test 小巧的Js调试软件

    JavaScript Test 是一款专为JavaScript开发者设计的轻量级调试工具,它旨在帮助开发者更有效地定位和解决代码中的问题,提高开发效率。 JavaScript在浏览器环境中运行,其主要任务是处理用户交互、操作DOM(文档...

    HTML, CSS & JavaScript Web Publishing in One Hour a Day 7th 第7版 0分

    Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day, Covers HTML5, CSS3, and jQuery 7th Series: Sams Teach Yourself Paperback: 768 pages Publisher: Sams Publishing; 7 edition ...

    JavaScriptTest

    JavaScriptTest相关的资源可能包含一系列用于测试和学习JavaScript技能的文件。在深入探讨JavaScriptTest的知识点之前,我们先了解一下JavaScript的基本概念。 JavaScript是ECMAScript规范的一个实现,主要用来处理...

    PHP, MySQL & JavaScript All-in-One For Dummies epub

    PHP, MySQL & JavaScript All-in-One For Dummies 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Python-Javascript Test Framework-开源

    **Python-Javascript Test Framework (PyJTF) 开源详解** Python-Javascript Test Framework(PyJTF)是一个创新的工具,旨在提升开发人员在测试驱动的Javascript代码开发过程中的效率。这个框架允许用户利用Python...

    Google-JavaScript-test——Google-js速度测试源码

    Google JavaScript test 速度测试 C++ 源码 Google刚刚公开的C++源码

    Test-Driving JavaScript Applications: Rapid, Confident, Maintainable Code

    "Test-Driving JavaScript Applications: Rapid, Confident, Maintainable Code" English | ISBN: 1680501747 | 2016 | Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, ...

    JavaScript中用于四舍五入的Math.round()方法讲解

    此方法返回一个数四舍五入为最接近的...JavaScript Math round() Method</title> </head> <body> [removed] var value = Math.round( 0.5 ); [removed]("First Test Value : " + value ); var value

    HTML, XHTML, and CSS All-in-one Desk Reference For Dummies

    You′ll learn how to work with Positionable CSS to create floating elements, margins, and multi–column layouts, and you′ll get up to speed on client–side programming with JavaScript. You′ll also ...

    javascriptTest:一些javascript测试

    在“javascriptTest”这个项目中,我们可以推测这是一系列针对JavaScript功能和用法的测试案例。 首先,JavaScript的核心概念包括变量、数据类型、控制结构(如条件语句和循环)、函数以及对象。变量是存储数据的...

    JavaScript Math.round() 方法

    总之,Math.round()是JavaScript中一个非常实用的内置方法,可以轻松地实现数字的四舍五入操作。对于希望提高编程效率和质量的开发者来说,理解并熟练使用Math.round()以及Math对象中的其他方法和属性是必不可少的。...

    测试驱动JavaScript开发-Test Driven JavaScript Development-PDF-英文版

    目前仅有的讲JavaScript的测试驱动开发的书,英文版,Amazon书评4星级的好书。

    javascriptTest:javascript测试模板

    "javascriptTest:javascript测试模板" 提供了一个用于测试JavaScript代码的框架,帮助开发者确保他们的JavaScript代码按照预期工作。 JavaScript测试对于软件开发至关重要,因为它能够确保代码的质量,预防错误,并...

    JavaScript应用实例-test.js

    JavaScript应用实例-test.js

    CSS_round.rar_javascript_圆角

    "CSS_round.rar_javascript_圆角"这个压缩包文件显然包含了关于如何使用CSS和JavaScript来创建圆角边框的资源。这里我们将详细探讨这两种技术以及它们在创建圆角边框中的应用。 首先,我们从CSS(层叠样式表)开始...

    JavaScript应用实例-testTouch.js

    JavaScript应用实例-testTouch.js

    typing-test-master_javascript_typing_

    标题中的"typing-test-master_javascript_typing_"暗示我们这是一个关于JavaScript打字测试的项目。这个项目可能是一个用于提高用户输入速度和准确性的小程序,利用JavaScript作为主要编程语言来实现。在JavaScript...

Global site tag (gtag.js) - Google Analytics