Comparing version 0.1.1 to 0.1.2
@@ -77,5 +77,8 @@ export const | ||
L.range = function *(limit) { | ||
var i = -1; | ||
while (++i < limit) yield i; | ||
L.range = function *(start = 0, stop = start, step = 1) { | ||
if (arguments.length == 1) start = 0; | ||
while (start < stop) { | ||
yield start; | ||
start += step; | ||
} | ||
}; | ||
@@ -82,0 +85,0 @@ |
{ | ||
"name": "fxjs2", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Functional Extensions for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15787
398