| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b8e40e4 commit 68791e2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,10 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + require('../common'); | ||
| 3 | + | ||
| 4 | + // Note: This test ensures that async IIFE doesn't crash | ||
| 5 | + // Ref: https://github.com/nodejs/node/issues/38685 | ||
| 6 | + | ||
| 7 | + const repl = require('repl').start({ terminal: true }); | ||
| 8 | + | ||
| 9 | + repl.write('(async() => { })()\n'); | ||
| 10 | + repl.write('.exit\n'); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments