// Node 18 full example const response = await fetch('https://api.github.com/users/nodejs'); const data = await response.json(); console.log(data);
import test from 'node:test'; import assert from 'node:assert'; test('top-level test', async (t) => await t.test('subtest 1', (t) => assert.strictEqual(1, 1); ); ); Use code with caution. 3. The V8 Engine Upgrade (Version 10.1) node 18 full