blob: ee4c802bbf6efb56f32e9ade637d8873175a047f [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: 26.1.1
description: >
Return target result
info: |
26.1.1 Reflect.apply ( target, thisArgument, argumentsList )
...
4. Perform PrepareForTailCall().
5. Return Call(target, thisArgument, args).
features: [Reflect]
---*/
var o = {};
function fn() {
return o;
}
var result = Reflect.apply(fn, 1, []);
assert.sameValue(result, o);