Skip to content

$eval returns empty object if the context value is an empty array #463

@goulderb

Description

@goulderb

When $eval is provided an empty array, it always returns empty object.

Example:

$eval("{ 'test': 1 }", [])

Output:

{}

Expected Output:

{
  "test": 1
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions