Skip to content

Bluebird.props for empty Map returns an Object #1338

@alanhoff

Description

@alanhoff
  1. What version of bluebird is the issue happening on?
    v3.4.7

  2. What platform and version?
    v7.5.0
    Darwin Alans-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan 9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64

  3. Did this issue happen with earlier version of bluebird?
    Yes

Bluebird.props should return an empty ES6 Map instead of a plain object {} when called with an empty Map:

screenshot 2017-02-13 15 10 54

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