Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log( '\uac00' == '가' );
- // true
- console.log( '\uac01' > '가' );
- // true
- console.log( '\uac00\uac00' < '나' );
- // true
- console.log( 'abc' < 'abd' );
- // true
- console.log( '가'.localeCompare('\uac00') );
- // 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement