JavaScript: Add a few examples that cause cyclic portals.

This commit is contained in:
Max Schaefer
2018-11-15 17:51:47 +00:00
parent 132570940a
commit 8e36c60326
4 changed files with 2678 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
function foo(cb) {
cb(foo);
return foo;
}
foo.f00 = foo;
foo(foo);
foo(foo());
exports.foo = foo;

View File

@@ -0,0 +1,3 @@
{
"name": "cyclic"
}