2.1.22 [ECMA-ES2017] Section 16.2 Forbidden Extensions
V0025: Functions created using the bind method are given caller and arguments restricted own properties
The specification states:
16.2 Forbidden Extensions An implementation must not extend this specification in the following ways: • ECMAScript function objects defined using syntactic constructors in strict mode code must not be created with own properties named "caller" or "arguments". Such own properties also must not be created for function objects defined using an ArrowFunction, MethodDefinition, GeneratorDeclaration, GeneratorExpression, AsyncGeneratorDeclaration [2018 and later], AsyncGeneratorExpression [2018 and later], ClassDeclaration, ClassExpression, AsyncFunctionDeclaration, AsyncFunctionExpression, or AsyncArrowFunction regardless of whether the definition is contained in strict mode code. Built-in functions, strict functions created using the Function constructor, generator functions created using the Generator constructor, async functions created using the AsyncFunction constructor, and functions created using the bind method also must not be created with such own properties.
Functions created using the
method are given
arguments restricted own properties.