Open Georgezxh opened 1 year ago
Fixing this would require the use of libICU
or a similar library for proper unicode and locale support, which would increase the size of the jerryscript binary substantially, and as such it will not be done.
An icu would increase the library size too much.
JerryScript revision
2.4.0
Description
'a' is before 'A', so the first result should be negative number. When adding parameter
{ sensitivity: 'base' }
, 'a' should be equal 'A', so the second result should be 0.Test case
Output
1 1
Expected behavior
-1(Or other negative number) 0