blob: 494973defb1459a45f4367ae351b569e0695b656 [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 9.5.13
description: >
Return is an abrupt completion
features: [Proxy]
---*/
var target = function(a, b) {
return a + b;
};
var p = new Proxy(target, {
apply: function(t, c, args) {
throw new Test262Error();
}
});
assert.throws(Test262Error, function() {
p.call();
});