Skip to content

Missing prototype functions in ES2015 #2587

@LaszloLango

Description

@LaszloLango

There is regression after the Class implementation landed.

Build command:

tools/build.py --clean --debug --profile=es2015-subset

Test case:

function f(a,b,c) {
  var args = Array.prototype.slice.call(arguments, 3);
  print(typeof args.splice);
}
f();

Output:

undefined

Expected output:

function

Metadata

Metadata

Assignees

No one assigned

    Labels

    ES2015Related to ES2015 featuresbugUndesired behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions