Skip to content

isObject doesn't work inside coffeescript REPL #2

@cheerfulstoic

Description

@cheerfulstoic

Working in the Good Eggs coffeescript console, I try the following:

fibrous> getto = require 'getto'
fibrous> { value: {} }

It throws "Error: Error: Not an Object". Works just fine in the node console. Seems to be failing on the "value.constructor === Object" condition on line 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions