Skip to content

eshost thinks it's an error if JSC prints "x: y" #106

@rkirsling

Description

@rkirsling

Without exactly one space:

λ eshost -se "'x:y'"
#### ch, jsc, sm, v8, xs
x:y

λ eshost -se "'x:  y'"
#### ch, jsc, sm, v8, xs
x:  y

With exactly one space:

λ eshost -se "'x: y'"
#### ch, sm, v8, xs
x: y

#### jsc

y: undefined

The problem appears to be here, but I don't know what the appropriate solution is:
https://github.com/bterlson/eshost/blob/master/lib/agents/jsc.js#L9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions