Skip to content

Node 6.6 #123

@mathiasrw

Description

@mathiasrw

With node 6.6 I get a "global.env.a is not defined" error when using the example from the frontpage:

var Parallel = require('paralleljs')
var p = new Parallel([1, 2, 3], {
  env: {
    a: 10
  }
});

// returns 10, 20, 30
p.map(function (d) {
  return d * global.env.a;
});

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