Created
March 5, 2014 05:17
-
-
Save thomasboyt/9361693 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// a.js | |
"use strict"; | |
var __es6_module__ = {}, __imports__ = []; | |
module.exports = { | |
__es6_module__: __es6_module__ | |
}; | |
__imports__['./b'] = require('./b'); | |
__imports__['./b'] = __imports__['./b'].__es6_module__ || __imports__['./b']; | |
__es6_module__["default"] = function even(n) { | |
return n === 0 || __imports__['./b'].default(n - 1); | |
} | |
// b.js | |
"use strict"; | |
var __es6_module__ = {}, __imports__ = []; | |
module.exports = { | |
__es6_module__: __es6_module__ | |
}; | |
__imports__['./a'] = require('./a'); | |
__imports__['./a'] = __imports__['./a'].__es6_module__ || __imports__['./a']; | |
__es6_module__["default"] = function odd(n) { | |
return n === 0 || __imports__['./a'].default(n - 1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// a.js | |
import odd from './b'; | |
export default function even(n) { | |
return n === 0 || odd(n - 1); | |
} | |
// b.js | |
import even from './a'; | |
export default function odd(n) { | |
return n === 0 || even(n - 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment