diff options
Diffstat (limited to 'src/3rdparty/v8/test/mjsunit/mjsunit.js')
-rw-r--r-- | src/3rdparty/v8/test/mjsunit/mjsunit.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/v8/test/mjsunit/mjsunit.js b/src/3rdparty/v8/test/mjsunit/mjsunit.js index 65fb301..25d7c00 100644 --- a/src/3rdparty/v8/test/mjsunit/mjsunit.js +++ b/src/3rdparty/v8/test/mjsunit/mjsunit.js @@ -321,7 +321,7 @@ var assertUnreachable; assertInstanceof = function assertInstanceof(obj, type) { if (!(obj instanceof type)) { var actualTypeName = null; - var actualConstructor = Object.prototypeOf(obj).constructor; + var actualConstructor = Object.getPrototypeOf(obj).constructor; if (typeof actualConstructor == "function") { actualTypeName = actualConstructor.name || String(actualConstructor); } |