Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-50-many-callbacks / test-z-creator.js
239 bytesRaw
1 | ; |
2 | |
3 | let s = 'console.log(\'test\');\n'; |
4 | |
5 | for (let i = 0; i < 100; i += 1) { |
6 | s = 'setTimeout(function () {\n' + s + '}, 0);\n'; |
7 | } |
8 | |
9 | s = '\'use strict\';\n' + |
10 | '\n' + s; |
11 | |
12 | require('fs').writeFileSync( |
13 | 'test-x-index.js', s |
14 | ); |
15 |
Built with git-ssb-web