Monday, March 7, 2016

Pluralsight: JavaScript for C# developer

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.

No comments:

Post a Comment