electron/spec/fixtures/module/locale-compare.js
2015-01-16 16:11:02 -08:00

7 lines
189 B
JavaScript

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