老外技术牛就在于他们的高标准,都是一些很基础的问题,但是不一定答得上来。尝试一下,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
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!
相关推荐
To round the topic off I’ll show you a few available unit testing frameworks for JavaScript, discuss their pros and cons, and take a closer look at the one we’ll be using the most throughout the ...
JavaScriptTest
JavaScriptTest18.html
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 ...
JavaScript Test 小巧的Js调试软件
HTML, CSS JavaScript Web Publishing in One Hour a Day, Sams Teach Yourself, 7th Edition 一天一小时学好HTML,CSS和JavaScript, 适合初学者的好书,英文著作,清晰准确,推荐下载!
PHP, MySQL & JavaScript All-in-One For Dummies 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
JavaScript测试工具,可执行文件
HTML、CSS和JavaScript入门书,英文版。书名《Sams Teach Yourself HTML, CSS, and JavaScript All in One》
Google JavaScript test 速度测试 C++ 源码 Google刚刚公开的C++源码
"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, ...
Jsmaine for unit test JavaScript, 用来做JavaScript单元测试的利器,详细情况请关注博客:http://blog.csdn.net/ghostbear
此方法返回一个数四舍五入为最接近的...JavaScript Math round() Method</title> </head> <body> [removed] var value = Math.round( 0.5 ); [removed]("First Test Value : " + value ); var value
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 ...
本文为大家介绍下Javascript中的四舍五入Math.round()与Math.pow()的使用,感兴趣的朋友不要错过
PyJTF支持使用Python编写的测试进行测试驱动的Javascript代码开发。 它在Windows(Win32)的IE环境中执行测试中的代码。 在测试Javascript代码时可以提高工作效率。
Javascript教程,只当做参考用就可以,最好不要当做学习教程 Javascript教程,只当做参考用就可以,最好不要当做学习教程 Javascript教程,只当做参考用就可以,最好不要当做学习教程
Javascript – ES6 实战视频课程
AngularJS, JavaScript, and jQuery All in One, Sams Teach Yourself 英文无水印转化版pdf pdf所有页面使用FoxitReader、PDF-XChangeViewer、SumatraPDF和Firefox测试都可以打开 本资源转载自网络,如有侵权,...
- Test and debug issues with JavaScript code using various modern mechanisms - Offers an expert's eye on the latest ES6 features and how these advanced tasks fit together in JavaScript as a whole ...