Skip to content

collections breaks Array#find behavior #165

@erossignon

Description

@erossignon

Spotted here node-opcua/node-opcua#248

Collections v5.0.5 seems to break and replace some Array methods, introducing breaking changes.

How to reproduce:

var a = ["e1","e2","e3"];
console.log(" before   ", a.find(function(e) { return e=="e1";}));
var collections = require("collections/shim-array");
console.log(" after    ", a.find(function(e) { return e=="e1";}));

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions