public native toInt() as Int
Returns this Unicode scalar as a signed integer.
Code point in 0..0x10FFFF.
0..0x10FFFF
assert '😀'.toInt() == 0x1F600