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

8 lines
183 B
JavaScript
Raw Normal View History

process.on('message', function () {
process.send([
'a'.localeCompare('a'),
'ä'.localeCompare('z', 'de'),
'ä'.localeCompare('a', 'sv', { sensitivity: 'base' })
2016-03-25 20:03:49 +00:00
])
})