Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,9 @@
module.exports = function (xs, fn) {
var res = [];
for (var i = 0; i < xs.length; i++) {
var x = fn(xs[i], i);
if (Array.isArray(x) res.push.apply(res, x);
else res.push(x);
}
return res;
};

View File

@ -0,0 +1 @@
function f () {}

View File

@ -0,0 +1 @@
process.exit(1);

View File

@ -0,0 +1,3 @@
})();
process.exit(1);
(function () {

View File

@ -0,0 +1,2 @@
#!/usr/bin/env node
console.log('foo');

View File

@ -0,0 +1,13 @@
function *foo () {
yield 5
}
(function *() {
console.log(foo().next().value)
})().next();
(function *() { })();
(function * () {
yield yield 3
})();