mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
e2cf2f0fda
fixup PR-URL: https://github.com/nodejs/node/pull/50398 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
'use strict';
|
|
|
|
const common = require('../common');
|
|
|
|
// See: https://github.com/nodejs/node/issues/49940
|
|
(async () => {
|
|
new MessageChannel().port1.postMessage({}, {
|
|
transfer: {
|
|
*[Symbol.iterator]() {}
|
|
}
|
|
});
|
|
})().then(common.mustCall());
|