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

7 lines
183 B
JavaScript

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