electron/spec/fixtures/module/locale-compare.js

8 lines
186 B
JavaScript
Raw Normal View History

process.on('message', function () {
process.send([
'a'.localeCompare('a'),
'ä'.localeCompare('z', 'de'),
'ä'.localeCompare('a', 'sv', { sensitivity: 'base' }),
]);
});