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

8 lines
185 B
JavaScript
Raw Normal View History

process.on('message', function () {
process.send([
'a'.localeCompare('a'),
'ä'.localeCompare('z', 'de'),
'ä'.localeCompare('a', 'sv', { sensitivity: 'base' })
2020-03-20 20:28:31 +00:00
]);
});