mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Signed-off-by: avivkeller <me@aviv.sh> PR-URL: https://github.com/nodejs/node/pull/65323 Refs: https://github.com/nodejs/node/pull/64894 Refs: https://github.com/nodejs/node/issues/43583 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
// Flags: --no-experimental-web-worker
|
|
'use strict';
|
|
|
|
// The Web Worker API is enabled by default, but can be opted out of.
|
|
// Refs: https://github.com/nodejs/node/pull/65323
|
|
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
assert.strictEqual(typeof Worker, 'undefined');
|