Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Path.prototype.stream = function() {
var labels = this.getLabels();
var objects = this.getObjects();
return lazy.range(0, this.size()).map(function(i) {
// todo: verify
return [labels[i], objects[i]];
});
};