electron/spec/fixtures/module/locale-compare.js
2016-03-30 17:00:31 -07:00

7 lines
184 B
JavaScript

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