Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index a8a9e8bd3af67f0878f4a8b34ce9c8cf49793c6d..20d9a44fc4c20d54722e2e9aec59a9507623ec27 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -36,6 +36,7 @@ utils.Import(function(from) { |
//------------------------------------------------------------------- |
function StringConstructor(x) { |
+ "use strict"; |
Michael Starzinger
2015/09/15 13:09:58
nit: Let's add a TODO here that this should at som
|
if (%_ArgumentsLength() == 0) x = ''; |
if (%_IsConstructCall()) { |
%_SetValueOf(this, TO_STRING_INLINE(x)); |