Skip to content

[VM] Can't use 'in' operator to search in functions #107

@czukowski

Description

@czukowski

It appears as if the new VM didn't count functions as objects.

Running this code results in JsException: TypeError: You can't use 'in' operator to search in non-objects

seval.eval_js_vm("var a = function () {}; a.prop = true; a(); 'prop' in a;")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions