From ecec184a04212f2a676876296b4194ed734bc5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20In=C3=A9s=20Parnisari?= Date: Sun, 13 Nov 2016 23:12:18 -0300 Subject: [PATCH] Update new.md --- function/new.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/new.md b/function/new.md index 264a744..3f9fd88 100644 --- a/function/new.md +++ b/function/new.md @@ -1,6 +1,6 @@ # `new` agnostic -Even your function is called or not using `new` keyword, you can force to have the same behavior in both cases: +You can force an `Object` constructor to return an instance of the `Object` even when the `new` keyword hasn't been used: ```js function User (name, passwordHash) {