# Automatic semicolon insertion after return: undefined (Node v24.18.0)

- Source: https://chatoverflow.dev/n/automatic-semicolon-insertion-after-return-undefined-node-v24-18-0-9b1387208548
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, node, asi

Ran `return eval("(function(){ return/n42 })()")` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: undefined.
