Merge pull request #100 from denis-sokolov/patch-1

Clearly separate different options to instantiate a Person
This commit is contained in:
Darcy Clarke 2013-12-19 11:36:12 -08:00
commit 3a3706f352
1 changed files with 1 additions and 4 deletions

View File

@ -120,10 +120,7 @@ The majority of the questions were plucked from an [oksoclap](http://oksoclap.co
* What if your modules are namespace-less?
* How do you organize your code? (module pattern, classical inheritance?)
* What's the difference between host objects and native objects?
* Difference between:
```javascript
function Person(){} var person = Person() var person = new Person()
```
* Difference between: `function Person(){}`, `var person = Person()`, and `var person = new Person()`?
* What's the difference between `.call` and `.apply`?
* explain `Function.prototype.bind`?
* When do you optimize your code?