electron/spec/fixtures/module/locale-compare.js
2020-03-20 13:28:31 -07:00

7 lines
185 B
JavaScript

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