mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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());
|