Chromium Code Reviews| Index: src/v8natives.js | 
| diff --git a/src/v8natives.js b/src/v8natives.js | 
| index a9306003b84c4aba7cb8149e49d0325153ace9a0..e08b08a0acbd9a8104d271839c68530328a4e16e 100644 | 
| --- a/src/v8natives.js | 
| +++ b/src/v8natives.js | 
| @@ -1341,6 +1341,7 @@ utils.InstallFunctions(GlobalObject, DONT_ENUM, [ | 
| // Boolean | 
| function BooleanConstructor(x) { | 
| + "use strict"; | 
| 
 
Michael Starzinger
2015/09/15 13:09:59
nit: TODO here as well.
 
 | 
| if (%_IsConstructCall()) { | 
| %_SetValueOf(this, ToBoolean(x)); | 
| } else { | 
| @@ -1390,6 +1391,7 @@ utils.InstallFunctions(GlobalBoolean.prototype, DONT_ENUM, [ | 
| // Number | 
| function NumberConstructor(x) { | 
| + "use strict"; | 
| 
 
Michael Starzinger
2015/09/15 13:09:59
nit: Likwise.
 
 | 
| var value = %_ArgumentsLength() == 0 ? 0 : ToNumber(x); | 
| if (%_IsConstructCall()) { | 
| %_SetValueOf(this, value); |