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

8 lines
189 B
JavaScript
Raw Normal View History

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