mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 13:11:36 +00:00

PR-URL: https://github.com/nodejs/node/pull/17311 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com>
11 lines
261 B
JavaScript
11 lines
261 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const assert = require('assert');
|
|
const vm = require('vm');
|
|
|
|
if (!common.hasIntl)
|
|
common.skip('missing Intl');
|
|
|
|
assert(!('v8BreakIterator' in Intl));
|
|
assert(!vm.runInNewContext('"v8BreakIterator" in Intl'));
|