Skip to content

[Call] calling an undefined method does not throw #510

@croraf

Description

@croraf

To Reproduce

'bar'.foo()

or

let bar = {}
bar.foo()

Expected behavior
Should throw TypeError
TypeError: 'bar'.foo is not a function
TypeError: bar.foo is not a function

Instead undefined is returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexecutionIssues or PRs related to code execution

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions