first commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
function foo () {
|
||||
var a;
|
||||
return function (c) {
|
||||
a = c;
|
||||
};
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
var foo;
|
||||
foo = bar;
|
||||
+1
@@ -0,0 +1 @@
|
||||
console.log(Buffer('abc'))
|
||||
+1
@@ -0,0 +1 @@
|
||||
console.log(Buffer.isBuffer('whatever'))
|
||||
+1
@@ -0,0 +1 @@
|
||||
console.log(Buffer)
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
var x = 5;
|
||||
var y = 3, z = 2;
|
||||
|
||||
w.foo();
|
||||
w = 2;
|
||||
|
||||
RAWR=444;
|
||||
RAWR.foo();
|
||||
|
||||
BLARG=3;
|
||||
|
||||
foo(function () {
|
||||
var BAR = 3;
|
||||
process.nextTick(function (ZZZZZZZZZZZZ) {
|
||||
console.log('beep boop');
|
||||
var xyz = 4;
|
||||
x += 10;
|
||||
x.zzzzzz;
|
||||
ZZZ=6;
|
||||
});
|
||||
function doom () {
|
||||
if (AAA.aaa) {}
|
||||
BBB.bbb = 3;
|
||||
var z = 2 + CCC.x * 5;
|
||||
}
|
||||
ZZZ.foo();
|
||||
|
||||
});
|
||||
|
||||
function beep () {}
|
||||
|
||||
console.log(xyz);
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
test_label1: while(true) {
|
||||
break test_label1;
|
||||
continue test_label1;
|
||||
}
|
||||
|
||||
function nest() {
|
||||
test_label2: while(true) {
|
||||
break test_label2;
|
||||
continue test_label2;
|
||||
}
|
||||
};
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
exports.foo = function () {
|
||||
return bar;
|
||||
};
|
||||
exports.bar = function (bar) {
|
||||
return bar;
|
||||
};
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
function foo (x) {
|
||||
var a = x;
|
||||
return function (c) {
|
||||
a += c;
|
||||
};
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
module.exports = {foo: bar}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
function foo() {
|
||||
return {
|
||||
bar: true
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
exports.filename = __filename;
|
||||
exports.dirname = __dirname;
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
function foo() {
|
||||
try {
|
||||
|
||||
} catch (ex) {
|
||||
foo(ex)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user