Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index de80067866b3e95d878b9452d7e0eb8fd9ac202c..337349cad944b7443e36d01b4054c6b09c730a17 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -1520,6 +1520,8 @@ function FunctionBind(this_arg) { // Length is 1. |
throw new $TypeError('Bind must be called on a function'); |
} |
var boundFunction = function () { |
+ // Poison .arguments and .caller, but is otherwise not detectable. |
+ "use strict"; |
// This function must not use any object literals (Object, Array, RegExp), |
// since the literals-array is being used to store the bound data. |
if (%_IsConstructCall()) { |