March 7, 2016
Two hours on JavaScript for C# developer on pluralsight (9:30pm - 11:30pm). Review JavaScript quickly.
Got 3 of 8 questions correct. <- That is the excellent teaching tool - Learning Check
1. How can you specify functions overload in JavaScript?
You cannot <- julia chose the one -
But, the correct answer is: You would interrogate the arguments object to determine what parameters were passed in.
Actually, on March 7, Julia wrote a function with overloading function. English, still, is julia's second language.
2. How does JavaScript support property setters and getters for objects?
Object.defineProperty
3. What is the JavaScript alternative to using C# interfaces?
Duck Typing
4. Is casting required in JavaScript?
5. What defines a scope in JavaScript?
6. How is the C#'s var keyword different from the JavaScript var keyword.
7. Does JavaScript support classes?
8. Is C#'s for each equivalent to JavaScript's for...in syntax?
Plant to watch another JavaScript course on pluralsight: structuring JavaScript.
From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one. 2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会. She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going. Hard work beats talent when talent fails to work hard.
No comments:
Post a Comment