From 761e3fad1d3a0eafd0e03a24b48fe6b6b9baf3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Mon, 26 Oct 2015 18:45:40 +0100 Subject: [PATCH] Normative: Add missing PrepareForTailCall in Function.prototype.apply Fixes https://bugs.ecmascript.org/show_bug.cgi?id=4511 --- spec.html | 1 + 1 file changed, 1 insertion(+) diff --git a/spec.html b/spec.html index ffbca3102a..ccc33d8759 100644 --- a/spec.html +++ b/spec.html @@ -23272,6 +23272,7 @@

Function.prototype.apply ( _thisArg_, _argArray_ )

1. If IsCallable(_func_) is *false*, throw a *TypeError* exception. 1. If _argArray_ is *null* or *undefined*, then + 1. Perform PrepareForTailCall(). 1. Return Call(_func_, _thisArg_). 1. Let _argList_ be CreateListFromArrayLike(_argArray_). 1. ReturnIfAbrupt(_argList_ ).