From 4cce06b3d1d23f76dd6fda6583ad38a225834074 Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 19 Dec 2013 20:13:04 +0200 Subject: [PATCH] Clearly separate different options to instantiate a Person --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 416c68f..9b246dd 100644 --- a/README.md +++ b/README.md @@ -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?