How to use char method in jest-extended

Best JavaScript code snippet using jest-extended

getUnicodeMap.js

Source:getUnicodeMap.js Github

copy

Full Screen

1// copy from emojilib https://github.com/muan/emojilib/blob/master/emojis.json2// because use npm package directly may cause some problems like make the source code bigger3// so I copy the map directly.4const lib = { 100: { char: '💯' },5 1234: { char: '🔢' },6 grinning: { char: '😀' },7 grimacing: { char: '😬' },8 grin: { char: '😁' },9 joy: { char: '😂' },10 rofl: { char: '🤣' },11 smiley: { char: '😃' },12 smile: { char: '😄' },13 sweat_smile: { char: '😅' },14 laughing: { char: '😆' },15 innocent: { char: '😇' },16 wink: { char: '😉' },17 blush: { char: '😊' },18 slightly_smiling_face: { char: '🙂' },19 upside_down_face: { char: '🙃' },20 relaxed: { char: '☺️' },21 yum: { char: '😋' },22 relieved: { char: '😌' },23 heart_eyes: { char: '😍' },24 kissing_heart: { char: '😘' },25 kissing: { char: '😗' },26 kissing_smiling_eyes: { char: '😙' },27 kissing_closed_eyes: { char: '😚' },28 stuck_out_tongue_winking_eye: { char: '😜' },29 stuck_out_tongue_closed_eyes: { char: '😝' },30 stuck_out_tongue: { char: '😛' },31 money_mouth_face: { char: '🤑' },32 nerd_face: { char: '🤓' },33 sunglasses: { char: '😎' },34 clown_face: { char: '🤡' },35 cowboy_hat_face: { char: '🤠' },36 hugs: { char: '🤗' },37 smirk: { char: '😏' },38 no_mouth: { char: '😶' },39 neutral_face: { char: '😐' },40 expressionless: { char: '😑' },41 unamused: { char: '😒' },42 roll_eyes: { char: '🙄' },43 thinking: { char: '🤔' },44 lying_face: { char: '🤥' },45 flushed: { char: '😳' },46 disappointed: { char: '😞' },47 worried: { char: '😟' },48 angry: { char: '😠' },49 rage: { char: '😡' },50 pensive: { char: '😔' },51 confused: { char: '😕' },52 slightly_frowning_face: { char: '🙁' },53 frowning_face: { char: '☹' },54 persevere: { char: '😣' },55 confounded: { char: '😖' },56 tired_face: { char: '😫' },57 weary: { char: '😩' },58 triumph: { char: '😤' },59 open_mouth: { char: '😮' },60 scream: { char: '😱' },61 fearful: { char: '😨' },62 cold_sweat: { char: '😰' },63 hushed: { char: '😯' },64 frowning: { char: '😦' },65 anguished: { char: '😧' },66 cry: { char: '😢' },67 disappointed_relieved: { char: '😥' },68 drooling_face: { char: '🤤' },69 sleepy: { char: '😪' },70 sweat: { char: '😓' },71 sob: { char: '😭' },72 dizzy_face: { char: '😵' },73 astonished: { char: '😲' },74 zipper_mouth_face: { char: '🤐' },75 nauseated_face: { char: '🤢' },76 sneezing_face: { char: '🤧' },77 mask: { char: '😷' },78 face_with_thermometer: { char: '🤒' },79 face_with_head_bandage: { char: '🤕' },80 sleeping: { char: '😴' },81 zzz: { char: '💤' },82 poop: { char: '💩' },83 smiling_imp: { char: '😈' },84 imp: { char: '👿' },85 japanese_ogre: { char: '👹' },86 japanese_goblin: { char: '👺' },87 skull: { char: '💀' },88 ghost: { char: '👻' },89 alien: { char: '👽' },90 robot: { char: '🤖' },91 smiley_cat: { char: '😺' },92 smile_cat: { char: '😸' },93 joy_cat: { char: '😹' },94 heart_eyes_cat: { char: '😻' },95 smirk_cat: { char: '😼' },96 kissing_cat: { char: '😽' },97 scream_cat: { char: '🙀' },98 crying_cat_face: { char: '😿' },99 pouting_cat: { char: '😾' },100 raised_hands: { char: '🙌' },101 clap: { char: '👏' },102 wave: { char: '👋' },103 call_me_hand: { char: '🤙' },104 '+1': { char: '👍' },105 '-1': { char: '👎' },106 facepunch: { char: '👊' },107 fist: { char: '✊' },108 fist_left: { char: '🤛' },109 fist_right: { char: '🤜' },110 v: { char: '✌' },111 ok_hand: { char: '👌' },112 raised_hand: { char: '✋' },113 raised_back_of_hand: { char: '🤚' },114 open_hands: { char: '👐' },115 muscle: { char: '💪' },116 pray: { char: '🙏' },117 handshake: { char: '🤝' },118 point_up: { char: '☝' },119 point_up_2: { char: '👆' },120 point_down: { char: '👇' },121 point_left: { char: '👈' },122 point_right: { char: '👉' },123 fu: { char: '🖕' },124 raised_hand_with_fingers_splayed: { char: '🖐' },125 metal: { char: '🤘' },126 crossed_fingers: { char: '🤞' },127 vulcan_salute: { char: '🖖' },128 writing_hand: { char: '✍' },129 selfie: { char: '🤳' },130 nail_care: { char: '💅' },131 lips: { char: '👄' },132 tongue: { char: '👅' },133 ear: { char: '👂' },134 nose: { char: '👃' },135 eye: { char: '👁' },136 eyes: { char: '👀' },137 bust_in_silhouette: { char: '👤' },138 busts_in_silhouette: { char: '👥' },139 speaking_head: { char: '🗣' },140 baby: { char: '👶' },141 boy: { char: '👦' },142 girl: { char: '👧' },143 man: { char: '👨' },144 woman: { char: '👩' },145 blonde_woman: { char: '👱‍♀️' },146 blonde_man: { char: '👱' },147 older_man: { char: '👴' },148 older_woman: { char: '👵' },149 man_with_gua_pi_mao: { char: '👲' },150 woman_with_turban: { char: '👳‍♀️' },151 man_with_turban: { char: '👳' },152 policewoman: { char: '👮‍♀️' },153 policeman: { char: '👮' },154 construction_worker_woman: { char: '👷‍♀️' },155 construction_worker_man: { char: '👷' },156 guardswoman: { char: '💂‍♀️' },157 guardsman: { char: '💂' },158 female_detective: { char: '🕵️‍♀️' },159 male_detective: { char: '🕵' },160 woman_health_worker: { char: '👩‍⚕️' },161 man_health_worker: { char: '👨‍⚕️' },162 woman_farmer: { char: '👩‍🌾' },163 man_farmer: { char: '👨‍🌾' },164 woman_cook: { char: '👩‍🍳' },165 man_cook: { char: '👨‍🍳' },166 woman_student: { char: '👩‍🎓' },167 man_student: { char: '👨‍🎓' },168 woman_singer: { char: '👩‍🎤' },169 man_singer: { char: '👨‍🎤' },170 woman_teacher: { char: '👩‍🏫' },171 man_teacher: { char: '👨‍🏫' },172 woman_factory_worker: { char: '👩‍🏭' },173 man_factory_worker: { char: '👨‍🏭' },174 woman_technologist: { char: '👩‍💻' },175 man_technologist: { char: '👨‍💻' },176 woman_office_worker: { char: '👩‍💼' },177 man_office_worker: { char: '👨‍💼' },178 woman_mechanic: { char: '👩‍🔧' },179 man_mechanic: { char: '👨‍🔧' },180 woman_scientist: { char: '👩‍🔬' },181 man_scientist: { char: '👨‍🔬' },182 woman_artist: { char: '👩‍🎨' },183 man_artist: { char: '👨‍🎨' },184 woman_firefighter: { char: '👩‍🚒' },185 man_firefighter: { char: '👨‍🚒' },186 woman_pilot: { char: '👩‍✈️' },187 man_pilot: { char: '👨‍✈️' },188 woman_astronaut: { char: '👩‍🚀' },189 man_astronaut: { char: '👨‍🚀' },190 woman_judge: { char: '👩‍⚖️' },191 man_judge: { char: '👨‍⚖️' },192 mrs_claus: { char: '🤶' },193 santa: { char: '🎅' },194 angel: { char: '👼' },195 pregnant_woman: { char: '🤰' },196 princess: { char: '👸' },197 prince: { char: '🤴' },198 bride_with_veil: { char: '👰' },199 man_in_tuxedo: { char: '🤵' },200 running_woman: { char: '🏃‍♀️' },201 running_man: { char: '🏃' },202 walking_woman: { char: '🚶‍♀️' },203 walking_man: { char: '🚶' },204 dancer: { char: '💃' },205 man_dancing: { char: '🕺' },206 dancing_women: { char: '👯' },207 dancing_men: { char: '👯‍♂️' },208 couple: { char: '👫' },209 two_men_holding_hands: { char: '👬' },210 two_women_holding_hands: { char: '👭' },211 bowing_woman: { char: '🙇‍♀️' },212 bowing_man: { char: '🙇' },213 man_facepalming: { char: '🤦' },214 woman_facepalming: { char: '🤦‍♀️' },215 woman_shrugging: { char: '🤷' },216 man_shrugging: { char: '🤷‍♂️' },217 tipping_hand_woman: { char: '💁' },218 tipping_hand_man: { char: '💁‍♂️' },219 no_good_woman: { char: '🙅' },220 no_good_man: { char: '🙅‍♂️' },221 ok_woman: { char: '🙆' },222 ok_man: { char: '🙆‍♂️' },223 raising_hand_woman: { char: '🙋' },224 raising_hand_man: { char: '🙋‍♂️' },225 pouting_woman: { char: '🙎' },226 pouting_man: { char: '🙎‍♂️' },227 frowning_woman: { char: '🙍' },228 frowning_man: { char: '🙍‍♂️' },229 haircut_woman: { char: '💇' },230 haircut_man: { char: '💇‍♂️' },231 massage_woman: { char: '💆' },232 massage_man: { char: '💆‍♂️' },233 couple_with_heart_woman_man: { char: '💑' },234 couple_with_heart_woman_woman: { char: '👩‍❤️‍👩' },235 couple_with_heart_man_man: { char: '👨‍❤️‍👨' },236 couplekiss_man_woman: { char: '💏' },237 couplekiss_woman_woman: { char: '👩‍❤️‍💋‍👩' },238 couplekiss_man_man: { char: '👨‍❤️‍💋‍👨' },239 family_man_woman_boy: { char: '👪' },240 family_man_woman_girl: { char: '👨‍👩‍👧' },241 family_man_woman_girl_boy: { char: '👨‍👩‍👧‍👦' },242 family_man_woman_boy_boy: { char: '👨‍👩‍👦‍👦' },243 family_man_woman_girl_girl: { char: '👨‍👩‍👧‍👧' },244 family_woman_woman_boy: { char: '👩‍👩‍👦' },245 family_woman_woman_girl: { char: '👩‍👩‍👧' },246 family_woman_woman_girl_boy: { char: '👩‍👩‍👧‍👦' },247 family_woman_woman_boy_boy: { char: '👩‍👩‍👦‍👦' },248 family_woman_woman_girl_girl: { char: '👩‍👩‍👧‍👧' },249 family_man_man_boy: { char: '👨‍👨‍👦' },250 family_man_man_girl: { char: '👨‍👨‍👧' },251 family_man_man_girl_boy: { char: '👨‍👨‍👧‍👦' },252 family_man_man_boy_boy: { char: '👨‍👨‍👦‍👦' },253 family_man_man_girl_girl: { char: '👨‍👨‍👧‍👧' },254 family_woman_boy: { char: '👩‍👦' },255 family_woman_girl: { char: '👩‍👧' },256 family_woman_girl_boy: { char: '👩‍👧‍👦' },257 family_woman_boy_boy: { char: '👩‍👦‍👦' },258 family_woman_girl_girl: { char: '👩‍👧‍👧' },259 family_man_boy: { char: '👨‍👦' },260 family_man_girl: { char: '👨‍👧' },261 family_man_girl_boy: { char: '👨‍👧‍👦' },262 family_man_boy_boy: { char: '👨‍👦‍👦' },263 family_man_girl_girl: { char: '👨‍👧‍👧' },264 womans_clothes: { char: '👚' },265 tshirt: { char: '👕' },266 jeans: { char: '👖' },267 necktie: { char: '👔' },268 dress: { char: '👗' },269 bikini: { char: '👙' },270 kimono: { char: '👘' },271 lipstick: { char: '💄' },272 kiss: { char: '💋' },273 footprints: { char: '👣' },274 high_heel: { char: '👠' },275 sandal: { char: '👡' },276 boot: { char: '👢' },277 mans_shoe: { char: '👞' },278 athletic_shoe: { char: '👟' },279 womans_hat: { char: '👒' },280 tophat: { char: '🎩' },281 rescue_worker_helmet: { char: '⛑' },282 mortar_board: { char: '🎓' },283 crown: { char: '👑' },284 school_satchel: { char: '🎒' },285 pouch: { char: '👝' },286 purse: { char: '👛' },287 handbag: { char: '👜' },288 briefcase: { char: '💼' },289 eyeglasses: { char: '👓' },290 dark_sunglasses: { char: '🕶' },291 ring: { char: '💍' },292 closed_umbrella: { char: '🌂' },293 dog: { char: '🐶' },294 cat: { char: '🐱' },295 mouse: { char: '🐭' },296 hamster: { char: '🐹' },297 rabbit: { char: '🐰' },298 fox_face: { char: '🦊' },299 bear: { char: '🐻' },300 panda_face: { char: '🐼' },301 koala: { char: '🐨' },302 tiger: { char: '🐯' },303 lion: { char: '🦁' },304 cow: { char: '🐮' },305 pig: { char: '🐷' },306 pig_nose: { char: '🐽' },307 frog: { char: '🐸' },308 squid: { char: '🦑' },309 octopus: { char: '🐙' },310 shrimp: { char: '🦐' },311 monkey_face: { char: '🐵' },312 gorilla: { char: '🦍' },313 see_no_evil: { char: '🙈' },314 hear_no_evil: { char: '🙉' },315 speak_no_evil: { char: '🙊' },316 monkey: { char: '🐒' },317 chicken: { char: '🐔' },318 penguin: { char: '🐧' },319 bird: { char: '🐦' },320 baby_chick: { char: '🐤' },321 hatching_chick: { char: '🐣' },322 hatched_chick: { char: '🐥' },323 duck: { char: '🦆' },324 eagle: { char: '🦅' },325 owl: { char: '🦉' },326 bat: { char: '🦇' },327 wolf: { char: '🐺' },328 boar: { char: '🐗' },329 horse: { char: '🐴' },330 unicorn: { char: '🦄' },331 honeybee: { char: '🐝' },332 bug: { char: '🐛' },333 butterfly: { char: '🦋' },334 snail: { char: '🐌' },335 beetle: { char: '🐞' },336 ant: { char: '🐜' },337 spider: { char: '🕷' },338 scorpion: { char: '🦂' },339 crab: { char: '🦀' },340 snake: { char: '🐍' },341 lizard: { char: '🦎' },342 turtle: { char: '🐢' },343 tropical_fish: { char: '🐠' },344 fish: { char: '🐟' },345 blowfish: { char: '🐡' },346 dolphin: { char: '🐬' },347 shark: { char: '🦈' },348 whale: { char: '🐳' },349 whale2: { char: '🐋' },350 crocodile: { char: '🐊' },351 leopard: { char: '🐆' },352 tiger2: { char: '🐅' },353 water_buffalo: { char: '🐃' },354 ox: { char: '🐂' },355 cow2: { char: '🐄' },356 deer: { char: '🦌' },357 dromedary_camel: { char: '🐪' },358 camel: { char: '🐫' },359 elephant: { char: '🐘' },360 rhinoceros: { char: '🦏' },361 goat: { char: '🐐' },362 ram: { char: '🐏' },363 sheep: { char: '🐑' },364 racehorse: { char: '🐎' },365 pig2: { char: '🐖' },366 rat: { char: '🐀' },367 mouse2: { char: '🐁' },368 rooster: { char: '🐓' },369 turkey: { char: '🦃' },370 dove: { char: '🕊' },371 dog2: { char: '🐕' },372 poodle: { char: '🐩' },373 cat2: { char: '🐈' },374 rabbit2: { char: '🐇' },375 chipmunk: { char: '🐿' },376 paw_prints: { char: '🐾' },377 dragon: { char: '🐉' },378 dragon_face: { char: '🐲' },379 cactus: { char: '🌵' },380 christmas_tree: { char: '🎄' },381 evergreen_tree: { char: '🌲' },382 deciduous_tree: { char: '🌳' },383 palm_tree: { char: '🌴' },384 seedling: { char: '🌱' },385 herb: { char: '🌿' },386 shamrock: { char: '☘' },387 four_leaf_clover: { char: '🍀' },388 bamboo: { char: '🎍' },389 tanabata_tree: { char: '🎋' },390 leaves: { char: '🍃' },391 fallen_leaf: { char: '🍂' },392 maple_leaf: { char: '🍁' },393 ear_of_rice: { char: '🌾' },394 hibiscus: { char: '🌺' },395 sunflower: { char: '🌻' },396 rose: { char: '🌹' },397 wilted_flower: { char: '🥀' },398 tulip: { char: '🌷' },399 blossom: { char: '🌼' },400 cherry_blossom: { char: '🌸' },401 bouquet: { char: '💐' },402 mushroom: { char: '🍄' },403 chestnut: { char: '🌰' },404 jack_o_lantern: { char: '🎃' },405 shell: { char: '🐚' },406 spider_web: { char: '🕸' },407 earth_americas: { char: '🌎' },408 earth_africa: { char: '🌍' },409 earth_asia: { char: '🌏' },410 full_moon: { char: '🌕' },411 waning_gibbous_moon: { char: '🌖' },412 last_quarter_moon: { char: '🌗' },413 waning_crescent_moon: { char: '🌘' },414 new_moon: { char: '🌑' },415 waxing_crescent_moon: { char: '🌒' },416 first_quarter_moon: { char: '🌓' },417 waxing_gibbous_moon: { char: '🌔' },418 new_moon_with_face: { char: '🌚' },419 full_moon_with_face: { char: '🌝' },420 first_quarter_moon_with_face: { char: '🌛' },421 last_quarter_moon_with_face: { char: '🌜' },422 sun_with_face: { char: '🌞' },423 crescent_moon: { char: '🌙' },424 star: { char: '⭐' },425 star2: { char: '🌟' },426 dizzy: { char: '💫' },427 sparkles: { char: '✨' },428 comet: { char: '☄' },429 sunny: { char: '☀️' },430 sun_behind_small_cloud: { char: '🌤' },431 partly_sunny: { char: '⛅' },432 sun_behind_large_cloud: { char: '🌥' },433 sun_behind_rain_cloud: { char: '🌦' },434 cloud: { char: '☁️' },435 cloud_with_rain: { char: '🌧' },436 cloud_with_lightning_and_rain: { char: '⛈' },437 cloud_with_lightning: { char: '🌩' },438 zap: { char: '⚡' },439 fire: { char: '🔥' },440 boom: { char: '💥' },441 snowflake: { char: '❄️' },442 cloud_with_snow: { char: '🌨' },443 snowman: { char: '⛄' },444 snowman_with_snow: { char: '☃' },445 wind_face: { char: '🌬' },446 dash: { char: '💨' },447 tornado: { char: '🌪' },448 fog: { char: '🌫' },449 open_umbrella: { char: '☂' },450 umbrella: { char: '☔' },451 droplet: { char: '💧' },452 sweat_drops: { char: '💦' },453 ocean: { char: '🌊' },454 green_apple: { char: '🍏' },455 apple: { char: '🍎' },456 pear: { char: '🍐' },457 tangerine: { char: '🍊' },458 lemon: { char: '🍋' },459 banana: { char: '🍌' },460 watermelon: { char: '🍉' },461 grapes: { char: '🍇' },462 strawberry: { char: '🍓' },463 melon: { char: '🍈' },464 cherries: { char: '🍒' },465 peach: { char: '🍑' },466 pineapple: { char: '🍍' },467 kiwi_fruit: { char: '🥝' },468 avocado: { char: '🥑' },469 tomato: { char: '🍅' },470 eggplant: { char: '🍆' },471 cucumber: { char: '🥒' },472 carrot: { char: '🥕' },473 hot_pepper: { char: '🌶' },474 potato: { char: '🥔' },475 corn: { char: '🌽' },476 sweet_potato: { char: '🍠' },477 peanuts: { char: '🥜' },478 honey_pot: { char: '🍯' },479 croissant: { char: '🥐' },480 bread: { char: '🍞' },481 baguette_bread: { char: '🥖' },482 cheese: { char: '🧀' },483 egg: { char: '🥚' },484 bacon: { char: '🥓' },485 pancakes: { char: '🥞' },486 poultry_leg: { char: '🍗' },487 meat_on_bone: { char: '🍖' },488 fried_shrimp: { char: '🍤' },489 fried_egg: { char: '🍳' },490 hamburger: { char: '🍔' },491 fries: { char: '🍟' },492 stuffed_flatbread: { char: '🥙' },493 hotdog: { char: '🌭' },494 pizza: { char: '🍕' },495 spaghetti: { char: '🍝' },496 taco: { char: '🌮' },497 burrito: { char: '🌯' },498 green_salad: { char: '🥗' },499 shallow_pan_of_food: { char: '🥘' },500 ramen: { char: '🍜' },501 stew: { char: '🍲' },502 fish_cake: { char: '🍥' },503 sushi: { char: '🍣' },504 bento: { char: '🍱' },505 curry: { char: '🍛' },506 rice_ball: { char: '🍙' },507 rice: { char: '🍚' },508 rice_cracker: { char: '🍘' },509 oden: { char: '🍢' },510 dango: { char: '🍡' },511 shaved_ice: { char: '🍧' },512 ice_cream: { char: '🍨' },513 icecream: { char: '🍦' },514 cake: { char: '🍰' },515 birthday: { char: '🎂' },516 custard: { char: '🍮' },517 candy: { char: '🍬' },518 lollipop: { char: '🍭' },519 chocolate_bar: { char: '🍫' },520 popcorn: { char: '🍿' },521 doughnut: { char: '🍩' },522 cookie: { char: '🍪' },523 milk_glass: { char: '🥛' },524 beer: { char: '🍺' },525 beers: { char: '🍻' },526 clinking_glasses: { char: '🥂' },527 wine_glass: { char: '🍷' },528 tumbler_glass: { char: '🥃' },529 cocktail: { char: '🍸' },530 tropical_drink: { char: '🍹' },531 champagne: { char: '🍾' },532 sake: { char: '🍶' },533 tea: { char: '🍵' },534 coffee: { char: '☕' },535 baby_bottle: { char: '🍼' },536 spoon: { char: '🥄' },537 fork_and_knife: { char: '🍴' },538 plate_with_cutlery: { char: '🍽' },539 soccer: { char: '⚽' },540 basketball: { char: '🏀' },541 football: { char: '🏈' },542 baseball: { char: '⚾' },543 tennis: { char: '🎾' },544 volleyball: { char: '🏐' },545 rugby_football: { char: '🏉' },546 '8ball': { char: '🎱' },547 golf: { char: '⛳' },548 golfing_woman: { char: '🏌️‍♀️' },549 golfing_man: { char: '🏌' },550 ping_pong: { char: '🏓' },551 badminton: { char: '🏸' },552 goal_net: { char: '🥅' },553 ice_hockey: { char: '🏒' },554 field_hockey: { char: '🏑' },555 cricket: { char: '🏏' },556 ski: { char: '🎿' },557 skier: { char: '⛷' },558 snowboarder: { char: '🏂' },559 person_fencing: { char: '🤺' },560 women_wrestling: { char: '🤼‍♀️' },561 men_wrestling: { char: '🤼‍♂️' },562 woman_cartwheeling: { char: '🤸‍♀️' },563 man_cartwheeling: { char: '🤸‍♂️' },564 woman_playing_handball: { char: '🤾‍♀️' },565 man_playing_handball: { char: '🤾‍♂️' },566 ice_skate: { char: '⛸' },567 bow_and_arrow: { char: '🏹' },568 fishing_pole_and_fish: { char: '🎣' },569 boxing_glove: { char: '🥊' },570 martial_arts_uniform: { char: '🥋' },571 rowing_woman: { char: '🚣‍♀️' },572 rowing_man: { char: '🚣' },573 swimming_woman: { char: '🏊‍♀️' },574 swimming_man: { char: '🏊' },575 woman_playing_water_polo: { char: '🤽‍♀️' },576 man_playing_water_polo: { char: '🤽‍♂️' },577 surfing_woman: { char: '🏄‍♀️' },578 surfing_man: { char: '🏄' },579 bath: { char: '🛀' },580 basketball_woman: { char: '⛹️‍♀️' },581 basketball_man: { char: '⛹' },582 weight_lifting_woman: { char: '🏋️‍♀️' },583 weight_lifting_man: { char: '🏋' },584 biking_woman: { char: '🚴‍♀️' },585 biking_man: { char: '🚴' },586 mountain_biking_woman: { char: '🚵‍♀️' },587 mountain_biking_man: { char: '🚵' },588 horse_racing: { char: '🏇' },589 business_suit_levitating: { char: '🕴' },590 trophy: { char: '🏆' },591 running_shirt_with_sash: { char: '🎽' },592 medal_sports: { char: '🏅' },593 medal_military: { char: '🎖' },594 '1st_place_medal': { char: '🥇' },595 '2nd_place_medal': { char: '🥈' },596 '3rd_place_medal': { char: '🥉' },597 reminder_ribbon: { char: '🎗' },598 rosette: { char: '🏵' },599 ticket: { char: '🎫' },600 tickets: { char: '🎟' },601 performing_arts: { char: '🎭' },602 art: { char: '🎨' },603 circus_tent: { char: '🎪' },604 woman_juggling: { char: '🤹‍♀️' },605 man_juggling: { char: '🤹‍♂️' },606 microphone: { char: '🎤' },607 headphones: { char: '🎧' },608 musical_score: { char: '🎼' },609 musical_keyboard: { char: '🎹' },610 drum: { char: '🥁' },611 saxophone: { char: '🎷' },612 trumpet: { char: '🎺' },613 guitar: { char: '🎸' },614 violin: { char: '🎻' },615 clapper: { char: '🎬' },616 video_game: { char: '🎮' },617 space_invader: { char: '👾' },618 dart: { char: '🎯' },619 game_die: { char: '🎲' },620 slot_machine: { char: '🎰' },621 bowling: { char: '🎳' },622 red_car: { char: '🚗' },623 taxi: { char: '🚕' },624 blue_car: { char: '🚙' },625 bus: { char: '🚌' },626 trolleybus: { char: '🚎' },627 racing_car: { char: '🏎' },628 police_car: { char: '🚓' },629 ambulance: { char: '🚑' },630 fire_engine: { char: '🚒' },631 minibus: { char: '🚐' },632 truck: { char: '🚚' },633 articulated_lorry: { char: '🚛' },634 tractor: { char: '🚜' },635 kick_scooter: { char: '🛴' },636 motorcycle: { char: '🏍' },637 bike: { char: '🚲' },638 motor_scooter: { char: '🛵' },639 rotating_light: { char: '🚨' },640 oncoming_police_car: { char: '🚔' },641 oncoming_bus: { char: '🚍' },642 oncoming_automobile: { char: '🚘' },643 oncoming_taxi: { char: '🚖' },644 aerial_tramway: { char: '🚡' },645 mountain_cableway: { char: '🚠' },646 suspension_railway: { char: '🚟' },647 railway_car: { char: '🚃' },648 train: { char: '🚋' },649 monorail: { char: '🚝' },650 bullettrain_side: { char: '🚄' },651 bullettrain_front: { char: '🚅' },652 light_rail: { char: '🚈' },653 mountain_railway: { char: '🚞' },654 steam_locomotive: { char: '🚂' },655 train2: { char: '🚆' },656 metro: { char: '🚇' },657 tram: { char: '🚊' },658 station: { char: '🚉' },659 helicopter: { char: '🚁' },660 small_airplane: { char: '🛩' },661 airplane: { char: '✈️' },662 flight_departure: { char: '🛫' },663 flight_arrival: { char: '🛬' },664 sailboat: { char: '⛵' },665 motor_boat: { char: '🛥' },666 speedboat: { char: '🚤' },667 ferry: { char: '⛴' },668 passenger_ship: { char: '🛳' },669 rocket: { char: '🚀' },670 artificial_satellite: { char: '🛰' },671 seat: { char: '💺' },672 canoe: { char: '🛶' },673 anchor: { char: '⚓' },674 construction: { char: '🚧' },675 fuelpump: { char: '⛽' },676 busstop: { char: '🚏' },677 vertical_traffic_light: { char: '🚦' },678 traffic_light: { char: '🚥' },679 checkered_flag: { char: '🏁' },680 ship: { char: '🚢' },681 ferris_wheel: { char: '🎡' },682 roller_coaster: { char: '🎢' },683 carousel_horse: { char: '🎠' },684 building_construction: { char: '🏗' },685 foggy: { char: '🌁' },686 tokyo_tower: { char: '🗼' },687 factory: { char: '🏭' },688 fountain: { char: '⛲' },689 rice_scene: { char: '🎑' },690 mountain: { char: '⛰' },691 mountain_snow: { char: '🏔' },692 mount_fuji: { char: '🗻' },693 volcano: { char: '🌋' },694 japan: { char: '🗾' },695 camping: { char: '🏕' },696 tent: { char: '⛺' },697 national_park: { char: '🏞' },698 motorway: { char: '🛣' },699 railway_track: { char: '🛤' },700 sunrise: { char: '🌅' },701 sunrise_over_mountains: { char: '🌄' },702 desert: { char: '🏜' },703 beach_umbrella: { char: '🏖' },704 desert_island: { char: '🏝' },705 city_sunrise: { char: '🌇' },706 city_sunset: { char: '🌆' },707 cityscape: { char: '🏙' },708 night_with_stars: { char: '🌃' },709 bridge_at_night: { char: '🌉' },710 milky_way: { char: '🌌' },711 stars: { char: '🌠' },712 sparkler: { char: '🎇' },713 fireworks: { char: '🎆' },714 rainbow: { char: '🌈' },715 houses: { char: '🏘' },716 european_castle: { char: '🏰' },717 japanese_castle: { char: '🏯' },718 stadium: { char: '🏟' },719 statue_of_liberty: { char: '🗽' },720 house: { char: '🏠' },721 house_with_garden: { char: '🏡' },722 derelict_house: { char: '🏚' },723 office: { char: '🏢' },724 department_store: { char: '🏬' },725 post_office: { char: '🏣' },726 european_post_office: { char: '🏤' },727 hospital: { char: '🏥' },728 bank: { char: '🏦' },729 hotel: { char: '🏨' },730 convenience_store: { char: '🏪' },731 school: { char: '🏫' },732 love_hotel: { char: '🏩' },733 wedding: { char: '💒' },734 classical_building: { char: '🏛' },735 church: { char: '⛪' },736 mosque: { char: '🕌' },737 synagogue: { char: '🕍' },738 kaaba: { char: '🕋' },739 shinto_shrine: { char: '⛩' },740 watch: { char: '⌚' },741 iphone: { char: '📱' },742 calling: { char: '📲' },743 computer: { char: '💻' },744 keyboard: { char: '⌨' },745 desktop_computer: { char: '🖥' },746 printer: { char: '🖨' },747 computer_mouse: { char: '🖱' },748 trackball: { char: '🖲' },749 joystick: { char: '🕹' },750 clamp: { char: '🗜' },751 minidisc: { char: '💽' },752 floppy_disk: { char: '💾' },753 cd: { char: '💿' },754 dvd: { char: '📀' },755 vhs: { char: '📼' },756 camera: { char: '📷' },757 camera_flash: { char: '📸' },758 video_camera: { char: '📹' },759 movie_camera: { char: '🎥' },760 film_projector: { char: '📽' },761 film_strip: { char: '🎞' },762 telephone_receiver: { char: '📞' },763 phone: { char: '☎️' },764 pager: { char: '📟' },765 fax: { char: '📠' },766 tv: { char: '📺' },767 radio: { char: '📻' },768 studio_microphone: { char: '🎙' },769 level_slider: { char: '🎚' },770 control_knobs: { char: '🎛' },771 stopwatch: { char: '⏱' },772 timer_clock: { char: '⏲' },773 alarm_clock: { char: '⏰' },774 mantelpiece_clock: { char: '🕰' },775 hourglass_flowing_sand: { char: '⏳' },776 hourglass: { char: '⌛' },777 satellite: { char: '📡' },778 battery: { char: '🔋' },779 electric_plug: { char: '🔌' },780 bulb: { char: '💡' },781 flashlight: { char: '🔦' },782 candle: { char: '🕯' },783 wastebasket: { char: '🗑' },784 oil_drum: { char: '🛢' },785 money_with_wings: { char: '💸' },786 dollar: { char: '💵' },787 yen: { char: '💴' },788 euro: { char: '💶' },789 pound: { char: '💷' },790 moneybag: { char: '💰' },791 credit_card: { char: '💳' },792 gem: { char: '💎' },793 balance_scale: { char: '⚖' },794 wrench: { char: '🔧' },795 hammer: { char: '🔨' },796 hammer_and_pick: { char: '⚒' },797 hammer_and_wrench: { char: '🛠' },798 pick: { char: '⛏' },799 nut_and_bolt: { char: '🔩' },800 gear: { char: '⚙' },801 chains: { char: '⛓' },802 gun: { char: '🔫' },803 bomb: { char: '💣' },804 hocho: { char: '🔪' },805 dagger: { char: '🗡' },806 crossed_swords: { char: '⚔' },807 shield: { char: '🛡' },808 smoking: { char: '🚬' },809 skull_and_crossbones: { char: '☠' },810 coffin: { char: '⚰' },811 funeral_urn: { char: '⚱' },812 amphora: { char: '🏺' },813 crystal_ball: { char: '🔮' },814 prayer_beads: { char: '📿' },815 barber: { char: '💈' },816 alembic: { char: '⚗' },817 telescope: { char: '🔭' },818 microscope: { char: '🔬' },819 hole: { char: '🕳' },820 pill: { char: '💊' },821 syringe: { char: '💉' },822 thermometer: { char: '🌡' },823 label: { char: '🏷' },824 bookmark: { char: '🔖' },825 toilet: { char: '🚽' },826 shower: { char: '🚿' },827 bathtub: { char: '🛁' },828 key: { char: '🔑' },829 old_key: { char: '🗝' },830 couch_and_lamp: { char: '🛋' },831 sleeping_bed: { char: '🛌' },832 bed: { char: '🛏' },833 door: { char: '🚪' },834 bellhop_bell: { char: '🛎' },835 framed_picture: { char: '🖼' },836 world_map: { char: '🗺' },837 parasol_on_ground: { char: '⛱' },838 moyai: { char: '🗿' },839 shopping: { char: '🛍' },840 shopping_cart: { char: '🛒' },841 balloon: { char: '🎈' },842 flags: { char: '🎏' },843 ribbon: { char: '🎀' },844 gift: { char: '🎁' },845 confetti_ball: { char: '🎊' },846 tada: { char: '🎉' },847 dolls: { char: '🎎' },848 wind_chime: { char: '🎐' },849 crossed_flags: { char: '🎌' },850 izakaya_lantern: { char: '🏮' },851 email: { char: '✉️' },852 envelope_with_arrow: { char: '📩' },853 incoming_envelope: { char: '📨' },854 'e-mail': { char: '📧' },855 love_letter: { char: '💌' },856 postbox: { char: '📮' },857 mailbox_closed: { char: '📪' },858 mailbox: { char: '📫' },859 mailbox_with_mail: { char: '📬' },860 mailbox_with_no_mail: { char: '📭' },861 package: { char: '📦' },862 postal_horn: { char: '📯' },863 inbox_tray: { char: '📥' },864 outbox_tray: { char: '📤' },865 scroll: { char: '📜' },866 page_with_curl: { char: '📃' },867 bookmark_tabs: { char: '📑' },868 bar_chart: { char: '📊' },869 chart_with_upwards_trend: { char: '📈' },870 chart_with_downwards_trend: { char: '📉' },871 page_facing_up: { char: '📄' },872 date: { char: '📅' },873 calendar: { char: '📆' },874 spiral_calendar: { char: '🗓' },875 card_index: { char: '📇' },876 card_file_box: { char: '🗃' },877 ballot_box: { char: '🗳' },878 file_cabinet: { char: '🗄' },879 clipboard: { char: '📋' },880 spiral_notepad: { char: '🗒' },881 file_folder: { char: '📁' },882 open_file_folder: { char: '📂' },883 card_index_dividers: { char: '🗂' },884 newspaper_roll: { char: '🗞' },885 newspaper: { char: '📰' },886 notebook: { char: '📓' },887 closed_book: { char: '📕' },888 green_book: { char: '📗' },889 blue_book: { char: '📘' },890 orange_book: { char: '📙' },891 notebook_with_decorative_cover: { char: '📔' },892 ledger: { char: '📒' },893 books: { char: '📚' },894 open_book: { char: '📖' },895 link: { char: '🔗' },896 paperclip: { char: '📎' },897 paperclips: { char: '🖇' },898 scissors: { char: '✂️' },899 triangular_ruler: { char: '📐' },900 straight_ruler: { char: '📏' },901 pushpin: { char: '📌' },902 round_pushpin: { char: '📍' },903 triangular_flag_on_post: { char: '🚩' },904 white_flag: { char: '🏳' },905 black_flag: { char: '🏴' },906 rainbow_flag: { char: '🏳️‍🌈' },907 closed_lock_with_key: { char: '🔐' },908 lock: { char: '🔒' },909 unlock: { char: '🔓' },910 lock_with_ink_pen: { char: '🔏' },911 pen: { char: '🖊' },912 fountain_pen: { char: '🖋' },913 black_nib: { char: '✒️' },914 memo: { char: '📝' },915 pencil2: { char: '✏️' },916 crayon: { char: '🖍' },917 paintbrush: { char: '🖌' },918 mag: { char: '🔍' },919 mag_right: { char: '🔎' },920 heart: { char: '❤️' },921 yellow_heart: { char: '💛' },922 green_heart: { char: '💚' },923 blue_heart: { char: '💙' },924 purple_heart: { char: '💜' },925 black_heart: { char: '🖤' },926 broken_heart: { char: '💔' },927 heavy_heart_exclamation: { char: '❣' },928 two_hearts: { char: '💕' },929 revolving_hearts: { char: '💞' },930 heartbeat: { char: '💓' },931 heartpulse: { char: '💗' },932 sparkling_heart: { char: '💖' },933 cupid: { char: '💘' },934 gift_heart: { char: '💝' },935 heart_decoration: { char: '💟' },936 peace_symbol: { char: '☮' },937 latin_cross: { char: '✝' },938 star_and_crescent: { char: '☪' },939 om: { char: '🕉' },940 wheel_of_dharma: { char: '☸' },941 star_of_david: { char: '✡' },942 six_pointed_star: { char: '🔯' },943 menorah: { char: '🕎' },944 yin_yang: { char: '☯' },945 orthodox_cross: { char: '☦' },946 place_of_worship: { char: '🛐' },947 ophiuchus: { char: '⛎' },948 aries: { char: '♈' },949 taurus: { char: '♉' },950 gemini: { char: '♊' },951 cancer: { char: '♋' },952 leo: { char: '♌' },953 virgo: { char: '♍' },954 libra: { char: '♎' },955 scorpius: { char: '♏' },956 sagittarius: { char: '♐' },957 capricorn: { char: '♑' },958 aquarius: { char: '♒' },959 pisces: { char: '♓' },960 id: { char: '🆔' },961 atom_symbol: { char: '⚛' },962 u7a7a: { char: '🈳' },963 u5272: { char: '🈹' },964 radioactive: { char: '☢' },965 biohazard: { char: '☣' },966 mobile_phone_off: { char: '📴' },967 vibration_mode: { char: '📳' },968 u6709: { char: '🈶' },969 u7121: { char: '🈚' },970 u7533: { char: '🈸' },971 u55b6: { char: '🈺' },972 u6708: { char: '🈷️' },973 eight_pointed_black_star: { char: '✴️' },974 vs: { char: '🆚' },975 accept: { char: '🉑' },976 white_flower: { char: '💮' },977 ideograph_advantage: { char: '🉐' },978 secret: { char: '㊙️' },979 congratulations: { char: '㊗️' },980 u5408: { char: '🈴' },981 u6e80: { char: '🈵' },982 u7981: { char: '🈲' },983 a: { char: '🅰️' },984 b: { char: '🅱️' },985 ab: { char: '🆎' },986 cl: { char: '🆑' },987 o2: { char: '🅾️' },988 sos: { char: '🆘' },989 no_entry: { char: '⛔' },990 name_badge: { char: '📛' },991 no_entry_sign: { char: '🚫' },992 x: { char: '❌' },993 o: { char: '⭕' },994 stop_sign: { char: '🛑' },995 anger: { char: '💢' },996 hotsprings: { char: '♨️' },997 no_pedestrians: { char: '🚷' },998 do_not_litter: { char: '🚯' },999 no_bicycles: { char: '🚳' },1000 'non-potable_water': { char: '🚱' },1001 underage: { char: '🔞' },1002 no_mobile_phones: { char: '📵' },1003 exclamation: { char: '❗' },1004 grey_exclamation: { char: '❕' },1005 question: { char: '❓' },1006 grey_question: { char: '❔' },1007 bangbang: { char: '‼️' },1008 interrobang: { char: '⁉️' },1009 low_brightness: { char: '🔅' },1010 high_brightness: { char: '🔆' },1011 trident: { char: '🔱' },1012 fleur_de_lis: { char: '⚜' },1013 part_alternation_mark: { char: '〽️' },1014 warning: { char: '⚠️' },1015 children_crossing: { char: '🚸' },1016 beginner: { char: '🔰' },1017 recycle: { char: '♻️' },1018 u6307: { char: '🈯' },1019 chart: { char: '💹' },1020 sparkle: { char: '❇️' },1021 eight_spoked_asterisk: { char: '✳️' },1022 negative_squared_cross_mark: { char: '❎' },1023 white_check_mark: { char: '✅' },1024 diamond_shape_with_a_dot_inside: { char: '💠' },1025 cyclone: { char: '🌀' },1026 loop: { char: '➿' },1027 globe_with_meridians: { char: '🌐' },1028 m: { char: 'Ⓜ️' },1029 atm: { char: '🏧' },1030 sa: { char: '🈂️' },1031 passport_control: { char: '🛂' },1032 customs: { char: '🛃' },1033 baggage_claim: { char: '🛄' },1034 left_luggage: { char: '🛅' },1035 wheelchair: { char: '♿' },1036 no_smoking: { char: '🚭' },1037 wc: { char: '🚾' },1038 parking: { char: '🅿️' },1039 potable_water: { char: '🚰' },1040 mens: { char: '🚹' },1041 womens: { char: '🚺' },1042 baby_symbol: { char: '🚼' },1043 restroom: { char: '🚻' },1044 put_litter_in_its_place: { char: '🚮' },1045 cinema: { char: '🎦' },1046 signal_strength: { char: '📶' },1047 koko: { char: '🈁' },1048 ng: { char: '🆖' },1049 ok: { char: '🆗' },1050 up: { char: '🆙' },1051 cool: { char: '🆒' },1052 new: { char: '🆕' },1053 free: { char: '🆓' },1054 zero: { char: '0️⃣' },1055 one: { char: '1️⃣' },1056 two: { char: '2️⃣' },1057 three: { char: '3️⃣' },1058 four: { char: '4️⃣' },1059 five: { char: '5️⃣' },1060 six: { char: '6️⃣' },1061 seven: { char: '7️⃣' },1062 eight: { char: '8️⃣' },1063 nine: { char: '9️⃣' },1064 keycap_ten: { char: '🔟' },1065 asterisk: { char: '*⃣' },1066 arrow_forward: { char: '▶️' },1067 pause_button: { char: '⏸' },1068 next_track_button: { char: '⏭' },1069 stop_button: { char: '⏹' },1070 record_button: { char: '⏺' },1071 play_or_pause_button: { char: '⏯' },1072 previous_track_button: { char: '⏮' },1073 fast_forward: { char: '⏩' },1074 rewind: { char: '⏪' },1075 twisted_rightwards_arrows: { char: '🔀' },1076 repeat: { char: '🔁' },1077 repeat_one: { char: '🔂' },1078 arrow_backward: { char: '◀️' },1079 arrow_up_small: { char: '🔼' },1080 arrow_down_small: { char: '🔽' },1081 arrow_double_up: { char: '⏫' },1082 arrow_double_down: { char: '⏬' },1083 arrow_right: { char: '➡️' },1084 arrow_left: { char: '⬅️' },1085 arrow_up: { char: '⬆️' },1086 arrow_down: { char: '⬇️' },1087 arrow_upper_right: { char: '↗️' },1088 arrow_lower_right: { char: '↘️' },1089 arrow_lower_left: { char: '↙️' },1090 arrow_upper_left: { char: '↖️' },1091 arrow_up_down: { char: '↕️' },1092 left_right_arrow: { char: '↔️' },1093 arrows_counterclockwise: { char: '🔄' },1094 arrow_right_hook: { char: '↪️' },1095 leftwards_arrow_with_hook: { char: '↩️' },1096 arrow_heading_up: { char: '⤴️' },1097 arrow_heading_down: { char: '⤵️' },1098 hash: { char: '#️⃣' },1099 information_source: { char: 'ℹ️' },1100 abc: { char: '🔤' },1101 abcd: { char: '🔡' },1102 capital_abcd: { char: '🔠' },1103 symbols: { char: '🔣' },1104 musical_note: { char: '🎵' },1105 notes: { char: '🎶' },1106 wavy_dash: { char: '〰️' },1107 curly_loop: { char: '➰' },1108 heavy_check_mark: { char: '✔️' },1109 arrows_clockwise: { char: '🔃' },1110 heavy_plus_sign: { char: '➕' },1111 heavy_minus_sign: { char: '➖' },1112 heavy_division_sign: { char: '➗' },1113 heavy_multiplication_x: { char: '✖️' },1114 heavy_dollar_sign: { char: '💲' },1115 currency_exchange: { char: '💱' },1116 copyright: { char: '©️' },1117 registered: { char: '®️' },1118 tm: { char: '™️' },1119 end: { char: '🔚' },1120 back: { char: '🔙' },1121 on: { char: '🔛' },1122 top: { char: '🔝' },1123 soon: { char: '🔜' },1124 ballot_box_with_check: { char: '☑️' },1125 radio_button: { char: '🔘' },1126 white_circle: { char: '⚪' },1127 black_circle: { char: '⚫' },1128 red_circle: { char: '🔴' },1129 large_blue_circle: { char: '🔵' },1130 small_orange_diamond: { char: '🔸' },1131 small_blue_diamond: { char: '🔹' },1132 large_orange_diamond: { char: '🔶' },1133 large_blue_diamond: { char: '🔷' },1134 small_red_triangle: { char: '🔺' },1135 black_small_square: { char: '▪️' },1136 white_small_square: { char: '▫️' },1137 black_large_square: { char: '⬛' },1138 white_large_square: { char: '⬜' },1139 small_red_triangle_down: { char: '🔻' },1140 black_medium_square: { char: '◼️' },1141 white_medium_square: { char: '◻️' },1142 black_medium_small_square: { char: '◾' },1143 white_medium_small_square: { char: '◽' },1144 black_square_button: { char: '🔲' },1145 white_square_button: { char: '🔳' },1146 speaker: { char: '🔈' },1147 sound: { char: '🔉' },1148 loud_sound: { char: '🔊' },1149 mute: { char: '🔇' },1150 mega: { char: '📣' },1151 loudspeaker: { char: '📢' },1152 bell: { char: '🔔' },1153 no_bell: { char: '🔕' },1154 black_joker: { char: '🃏' },1155 mahjong: { char: '🀄' },1156 spades: { char: '♠️' },1157 clubs: { char: '♣️' },1158 hearts: { char: '♥️' },1159 diamonds: { char: '♦️' },1160 flower_playing_cards: { char: '🎴' },1161 thought_balloon: { char: '💭' },1162 right_anger_bubble: { char: '🗯' },1163 speech_balloon: { char: '💬' },1164 left_speech_bubble: { char: '🗨' },1165 clock1: { char: '🕐' },1166 clock2: { char: '🕑' },1167 clock3: { char: '🕒' },1168 clock4: { char: '🕓' },1169 clock5: { char: '🕔' },1170 clock6: { char: '🕕' },1171 clock7: { char: '🕖' },1172 clock8: { char: '🕗' },1173 clock9: { char: '🕘' },1174 clock10: { char: '🕙' },1175 clock11: { char: '🕚' },1176 clock12: { char: '🕛' },1177 clock130: { char: '🕜' },1178 clock230: { char: '🕝' },1179 clock330: { char: '🕞' },1180 clock430: { char: '🕟' },1181 clock530: { char: '🕠' },1182 clock630: { char: '🕡' },1183 clock730: { char: '🕢' },1184 clock830: { char: '🕣' },1185 clock930: { char: '🕤' },1186 clock1030: { char: '🕥' },1187 clock1130: { char: '🕦' },1188 clock1230: { char: '🕧' },1189 afghanistan: { char: '🇦🇫' },1190 aland_islands: { char: '🇦🇽' },1191 albania: { char: '🇦🇱' },1192 algeria: { char: '🇩🇿' },1193 american_samoa: { char: '🇦🇸' },1194 andorra: { char: '🇦🇩' },1195 angola: { char: '🇦🇴' },1196 anguilla: { char: '🇦🇮' },1197 antarctica: { char: '🇦🇶' },1198 antigua_barbuda: { char: '🇦🇬' },1199 argentina: { char: '🇦🇷' },1200 armenia: { char: '🇦🇲' },1201 aruba: { char: '🇦🇼' },1202 australia: { char: '🇦🇺' },1203 austria: { char: '🇦🇹' },1204 azerbaijan: { char: '🇦🇿' },1205 bahamas: { char: '🇧🇸' },1206 bahrain: { char: '🇧🇭' },1207 bangladesh: { char: '🇧🇩' },1208 barbados: { char: '🇧🇧' },1209 belarus: { char: '🇧🇾' },1210 belgium: { char: '🇧🇪' },1211 belize: { char: '🇧🇿' },1212 benin: { char: '🇧🇯' },1213 bermuda: { char: '🇧🇲' },1214 bhutan: { char: '🇧🇹' },1215 bolivia: { char: '🇧🇴' },1216 caribbean_netherlands: { char: '🇧🇶' },1217 bosnia_herzegovina: { char: '🇧🇦' },1218 botswana: { char: '🇧🇼' },1219 brazil: { char: '🇧🇷' },1220 british_indian_ocean_territory: { char: '🇮🇴' },1221 british_virgin_islands: { char: '🇻🇬' },1222 brunei: { char: '🇧🇳' },1223 bulgaria: { char: '🇧🇬' },1224 burkina_faso: { char: '🇧🇫' },1225 burundi: { char: '🇧🇮' },1226 cape_verde: { char: '🇨🇻' },1227 cambodia: { char: '🇰🇭' },1228 cameroon: { char: '🇨🇲' },1229 canada: { char: '🇨🇦' },1230 canary_islands: { char: '🇮🇨' },1231 cayman_islands: { char: '🇰🇾' },1232 central_african_republic: { char: '🇨🇫' },1233 chad: { char: '🇹🇩' },1234 chile: { char: '🇨🇱' },1235 cn: { char: '🇨🇳' },1236 christmas_island: { char: '🇨🇽' },1237 cocos_islands: { char: '🇨🇨' },1238 colombia: { char: '🇨🇴' },1239 comoros: { char: '🇰🇲' },1240 congo_brazzaville: { char: '🇨🇬' },1241 congo_kinshasa: { char: '🇨🇩' },1242 cook_islands: { char: '🇨🇰' },1243 costa_rica: { char: '🇨🇷' },1244 croatia: { char: '🇭🇷' },1245 cuba: { char: '🇨🇺' },1246 curacao: { char: '🇨🇼' },1247 cyprus: { char: '🇨🇾' },1248 czech_republic: { char: '🇨🇿' },1249 denmark: { char: '🇩🇰' },1250 djibouti: { char: '🇩🇯' },1251 dominica: { char: '🇩🇲' },1252 dominican_republic: { char: '🇩🇴' },1253 ecuador: { char: '🇪🇨' },1254 egypt: { char: '🇪🇬' },1255 el_salvador: { char: '🇸🇻' },1256 equatorial_guinea: { char: '🇬🇶' },1257 eritrea: { char: '🇪🇷' },1258 estonia: { char: '🇪🇪' },1259 ethiopia: { char: '🇪🇹' },1260 eu: { char: '🇪🇺' },1261 falkland_islands: { char: '🇫🇰' },1262 faroe_islands: { char: '🇫🇴' },1263 fiji: { char: '🇫🇯' },1264 finland: { char: '🇫🇮' },1265 fr: { char: '🇫🇷' },1266 french_guiana: { char: '🇬🇫' },1267 french_polynesia: { char: '🇵🇫' },1268 french_southern_territories: { char: '🇹🇫' },1269 gabon: { char: '🇬🇦' },1270 gambia: { char: '🇬🇲' },1271 georgia: { char: '🇬🇪' },1272 de: { char: '🇩🇪' },1273 ghana: { char: '🇬🇭' },1274 gibraltar: { char: '🇬🇮' },1275 greece: { char: '🇬🇷' },1276 greenland: { char: '🇬🇱' },1277 grenada: { char: '🇬🇩' },1278 guadeloupe: { char: '🇬🇵' },1279 guam: { char: '🇬🇺' },1280 guatemala: { char: '🇬🇹' },1281 guernsey: { char: '🇬🇬' },1282 guinea: { char: '🇬🇳' },1283 guinea_bissau: { char: '🇬🇼' },1284 guyana: { char: '🇬🇾' },1285 haiti: { char: '🇭🇹' },1286 honduras: { char: '🇭🇳' },1287 hong_kong: { char: '🇭🇰' },1288 hungary: { char: '🇭🇺' },1289 iceland: { char: '🇮🇸' },1290 india: { char: '🇮🇳' },1291 indonesia: { char: '🇮🇩' },1292 iran: { char: '🇮🇷' },1293 iraq: { char: '🇮🇶' },1294 ireland: { char: '🇮🇪' },1295 isle_of_man: { char: '🇮🇲' },1296 israel: { char: '🇮🇱' },1297 it: { char: '🇮🇹' },1298 cote_divoire: { char: '🇨🇮' },1299 jamaica: { char: '🇯🇲' },1300 jp: { char: '🇯🇵' },1301 jersey: { char: '🇯🇪' },1302 jordan: { char: '🇯🇴' },1303 kazakhstan: { char: '🇰🇿' },1304 kenya: { char: '🇰🇪' },1305 kiribati: { char: '🇰🇮' },1306 kosovo: { char: '🇽🇰' },1307 kuwait: { char: '🇰🇼' },1308 kyrgyzstan: { char: '🇰🇬' },1309 laos: { char: '🇱🇦' },1310 latvia: { char: '🇱🇻' },1311 lebanon: { char: '🇱🇧' },1312 lesotho: { char: '🇱🇸' },1313 liberia: { char: '🇱🇷' },1314 libya: { char: '🇱🇾' },1315 liechtenstein: { char: '🇱🇮' },1316 lithuania: { char: '🇱🇹' },1317 luxembourg: { char: '🇱🇺' },1318 macau: { char: '🇲🇴' },1319 macedonia: { char: '🇲🇰' },1320 madagascar: { char: '🇲🇬' },1321 malawi: { char: '🇲🇼' },1322 malaysia: { char: '🇲🇾' },1323 maldives: { char: '🇲🇻' },1324 mali: { char: '🇲🇱' },1325 malta: { char: '🇲🇹' },1326 marshall_islands: { char: '🇲🇭' },1327 martinique: { char: '🇲🇶' },1328 mauritania: { char: '🇲🇷' },1329 mauritius: { char: '🇲🇺' },1330 mayotte: { char: '🇾🇹' },1331 mexico: { char: '🇲🇽' },1332 micronesia: { char: '🇫🇲' },1333 moldova: { char: '🇲🇩' },1334 monaco: { char: '🇲🇨' },1335 mongolia: { char: '🇲🇳' },1336 montenegro: { char: '🇲🇪' },1337 montserrat: { char: '🇲🇸' },1338 morocco: { char: '🇲🇦' },1339 mozambique: { char: '🇲🇿' },1340 myanmar: { char: '🇲🇲' },1341 namibia: { char: '🇳🇦' },1342 nauru: { char: '🇳🇷' },1343 nepal: { char: '🇳🇵' },1344 netherlands: { char: '🇳🇱' },1345 new_caledonia: { char: '🇳🇨' },1346 new_zealand: { char: '🇳🇿' },1347 nicaragua: { char: '🇳🇮' },1348 niger: { char: '🇳🇪' },1349 nigeria: { char: '🇳🇬' },1350 niue: { char: '🇳🇺' },1351 norfolk_island: { char: '🇳🇫' },1352 northern_mariana_islands: { char: '🇲🇵' },1353 north_korea: { char: '🇰🇵' },1354 norway: { char: '🇳🇴' },1355 oman: { char: '🇴🇲' },1356 pakistan: { char: '🇵🇰' },1357 palau: { char: '🇵🇼' },1358 palestinian_territories: { char: '🇵🇸' },1359 panama: { char: '🇵🇦' },1360 papua_new_guinea: { char: '🇵🇬' },1361 paraguay: { char: '🇵🇾' },1362 peru: { char: '🇵🇪' },1363 philippines: { char: '🇵🇭' },1364 pitcairn_islands: { char: '🇵🇳' },1365 poland: { char: '🇵🇱' },1366 portugal: { char: '🇵🇹' },1367 puerto_rico: { char: '🇵🇷' },1368 qatar: { char: '🇶🇦' },1369 reunion: { char: '🇷🇪' },1370 romania: { char: '🇷🇴' },1371 ru: { char: '🇷🇺' },1372 rwanda: { char: '🇷🇼' },1373 st_barthelemy: { char: '🇧🇱' },1374 st_helena: { char: '🇸🇭' },1375 st_kitts_nevis: { char: '🇰🇳' },1376 st_lucia: { char: '🇱🇨' },1377 st_pierre_miquelon: { char: '🇵🇲' },1378 st_vincent_grenadines: { char: '🇻🇨' },1379 samoa: { char: '🇼🇸' },1380 san_marino: { char: '🇸🇲' },1381 sao_tome_principe: { char: '🇸🇹' },1382 saudi_arabia: { char: '🇸🇦' },1383 senegal: { char: '🇸🇳' },1384 serbia: { char: '🇷🇸' },1385 seychelles: { char: '🇸🇨' },1386 sierra_leone: { char: '🇸🇱' },1387 singapore: { char: '🇸🇬' },1388 sint_maarten: { char: '🇸🇽' },1389 slovakia: { char: '🇸🇰' },1390 slovenia: { char: '🇸🇮' },1391 solomon_islands: { char: '🇸🇧' },1392 somalia: { char: '🇸🇴' },1393 south_africa: { char: '🇿🇦' },1394 south_georgia_south_sandwich_islands: { char: '🇬🇸' },1395 kr: { char: '🇰🇷' },1396 south_sudan: { char: '🇸🇸' },1397 es: { char: '🇪🇸' },1398 sri_lanka: { char: '🇱🇰' },1399 sudan: { char: '🇸🇩' },1400 suriname: { char: '🇸🇷' },1401 swaziland: { char: '🇸🇿' },1402 sweden: { char: '🇸🇪' },1403 switzerland: { char: '🇨🇭' },1404 syria: { char: '🇸🇾' },1405 taiwan: { char: '🇹🇼' },1406 tajikistan: { char: '🇹🇯' },1407 tanzania: { char: '🇹🇿' },1408 thailand: { char: '🇹🇭' },1409 timor_leste: { char: '🇹🇱' },1410 togo: { char: '🇹🇬' },1411 tokelau: { char: '🇹🇰' },1412 tonga: { char: '🇹🇴' },1413 trinidad_tobago: { char: '🇹🇹' },1414 tunisia: { char: '🇹🇳' },1415 tr: { char: '🇹🇷' },1416 turkmenistan: { char: '🇹🇲' },1417 turks_caicos_islands: { char: '🇹🇨' },1418 tuvalu: { char: '🇹🇻' },1419 uganda: { char: '🇺🇬' },1420 ukraine: { char: '🇺🇦' },1421 united_arab_emirates: { char: '🇦🇪' },1422 uk: { char: '🇬🇧' },1423 us: { char: '🇺🇸' },1424 us_virgin_islands: { char: '🇻🇮' },1425 uruguay: { char: '🇺🇾' },1426 uzbekistan: { char: '🇺🇿' },1427 vanuatu: { char: '🇻🇺' },1428 vatican_city: { char: '🇻🇦' },1429 venezuela: { char: '🇻🇪' },1430 vietnam: { char: '🇻🇳' },1431 wallis_futuna: { char: '🇼🇫' },1432 western_sahara: { char: '🇪🇭' },1433 yemen: { char: '🇾🇪' },1434 zambia: { char: '🇿🇲' },1435 zimbabwe: { char: '🇿🇼' },1436 octocat: { char: null },1437 shipit: { char: null },1438 bowtie: { char: null },1439 neckbeard: { char: null },1440 trollface: { char: null },1441 godmode: { char: null },1442 goberserk: { char: null },1443 finnadie: { char: null },1444 feelsgood: { char: null },1445 rage1: { char: null },1446 rage2: { char: null },1447 rage3: { char: null },1448 rage4: { char: null },1449 suspect: { char: null },1450 hurtrealbad: { char: null } };1451export default lib;...

Full Screen

Full Screen

is_char_in_unicode_block.js

Source:is_char_in_unicode_block.js Github

copy

Full Screen

1// @flow2// The following table comes from <http://www.unicode.org/Public/12.0.0/ucd/Blocks.txt>.3// Keep it synchronized with <http://www.unicode.org/Public/UCD/latest/ucd/Blocks.txt>.4type UnicodeBlockLookup = {[key: string]: (char: number) => boolean};5const unicodeBlockLookup: UnicodeBlockLookup = {6 // 'Basic Latin': (char) => char >= 0x0000 && char <= 0x007F,7 'Latin-1 Supplement': (char) => char >= 0x0080 && char <= 0x00FF,8 // 'Latin Extended-A': (char) => char >= 0x0100 && char <= 0x017F,9 // 'Latin Extended-B': (char) => char >= 0x0180 && char <= 0x024F,10 // 'IPA Extensions': (char) => char >= 0x0250 && char <= 0x02AF,11 // 'Spacing Modifier Letters': (char) => char >= 0x02B0 && char <= 0x02FF,12 // 'Combining Diacritical Marks': (char) => char >= 0x0300 && char <= 0x036F,13 // 'Greek and Coptic': (char) => char >= 0x0370 && char <= 0x03FF,14 // 'Cyrillic': (char) => char >= 0x0400 && char <= 0x04FF,15 // 'Cyrillic Supplement': (char) => char >= 0x0500 && char <= 0x052F,16 // 'Armenian': (char) => char >= 0x0530 && char <= 0x058F,17 //'Hebrew': (char) => char >= 0x0590 && char <= 0x05FF,18 'Arabic': (char) => char >= 0x0600 && char <= 0x06FF,19 //'Syriac': (char) => char >= 0x0700 && char <= 0x074F,20 'Arabic Supplement': (char) => char >= 0x0750 && char <= 0x077F,21 // 'Thaana': (char) => char >= 0x0780 && char <= 0x07BF,22 // 'NKo': (char) => char >= 0x07C0 && char <= 0x07FF,23 // 'Samaritan': (char) => char >= 0x0800 && char <= 0x083F,24 // 'Mandaic': (char) => char >= 0x0840 && char <= 0x085F,25 // 'Syriac Supplement': (char) => char >= 0x0860 && char <= 0x086F,26 'Arabic Extended-A': (char) => char >= 0x08A0 && char <= 0x08FF,27 // 'Devanagari': (char) => char >= 0x0900 && char <= 0x097F,28 // 'Bengali': (char) => char >= 0x0980 && char <= 0x09FF,29 // 'Gurmukhi': (char) => char >= 0x0A00 && char <= 0x0A7F,30 // 'Gujarati': (char) => char >= 0x0A80 && char <= 0x0AFF,31 // 'Oriya': (char) => char >= 0x0B00 && char <= 0x0B7F,32 // 'Tamil': (char) => char >= 0x0B80 && char <= 0x0BFF,33 // 'Telugu': (char) => char >= 0x0C00 && char <= 0x0C7F,34 // 'Kannada': (char) => char >= 0x0C80 && char <= 0x0CFF,35 // 'Malayalam': (char) => char >= 0x0D00 && char <= 0x0D7F,36 // 'Sinhala': (char) => char >= 0x0D80 && char <= 0x0DFF,37 // 'Thai': (char) => char >= 0x0E00 && char <= 0x0E7F,38 // 'Lao': (char) => char >= 0x0E80 && char <= 0x0EFF,39 // 'Tibetan': (char) => char >= 0x0F00 && char <= 0x0FFF,40 // 'Myanmar': (char) => char >= 0x1000 && char <= 0x109F,41 // 'Georgian': (char) => char >= 0x10A0 && char <= 0x10FF,42 'Hangul Jamo': (char) => char >= 0x1100 && char <= 0x11FF,43 // 'Ethiopic': (char) => char >= 0x1200 && char <= 0x137F,44 // 'Ethiopic Supplement': (char) => char >= 0x1380 && char <= 0x139F,45 // 'Cherokee': (char) => char >= 0x13A0 && char <= 0x13FF,46 'Unified Canadian Aboriginal Syllabics': (char) => char >= 0x1400 && char <= 0x167F,47 // 'Ogham': (char) => char >= 0x1680 && char <= 0x169F,48 // 'Runic': (char) => char >= 0x16A0 && char <= 0x16FF,49 // 'Tagalog': (char) => char >= 0x1700 && char <= 0x171F,50 // 'Hanunoo': (char) => char >= 0x1720 && char <= 0x173F,51 // 'Buhid': (char) => char >= 0x1740 && char <= 0x175F,52 // 'Tagbanwa': (char) => char >= 0x1760 && char <= 0x177F,53 'Khmer': (char) => char >= 0x1780 && char <= 0x17FF,54 // 'Mongolian': (char) => char >= 0x1800 && char <= 0x18AF,55 'Unified Canadian Aboriginal Syllabics Extended': (char) => char >= 0x18B0 && char <= 0x18FF,56 // 'Limbu': (char) => char >= 0x1900 && char <= 0x194F,57 // 'Tai Le': (char) => char >= 0x1950 && char <= 0x197F,58 // 'New Tai Lue': (char) => char >= 0x1980 && char <= 0x19DF,59 // 'Khmer Symbols': (char) => char >= 0x19E0 && char <= 0x19FF,60 // 'Buginese': (char) => char >= 0x1A00 && char <= 0x1A1F,61 // 'Tai Tham': (char) => char >= 0x1A20 && char <= 0x1AAF,62 // 'Combining Diacritical Marks Extended': (char) => char >= 0x1AB0 && char <= 0x1AFF,63 // 'Balinese': (char) => char >= 0x1B00 && char <= 0x1B7F,64 // 'Sundanese': (char) => char >= 0x1B80 && char <= 0x1BBF,65 // 'Batak': (char) => char >= 0x1BC0 && char <= 0x1BFF,66 // 'Lepcha': (char) => char >= 0x1C00 && char <= 0x1C4F,67 // 'Ol Chiki': (char) => char >= 0x1C50 && char <= 0x1C7F,68 // 'Cyrillic Extended-C': (char) => char >= 0x1C80 && char <= 0x1C8F,69 // 'Georgian Extended': (char) => char >= 0x1C90 && char <= 0x1CBF,70 // 'Sundanese Supplement': (char) => char >= 0x1CC0 && char <= 0x1CCF,71 // 'Vedic Extensions': (char) => char >= 0x1CD0 && char <= 0x1CFF,72 // 'Phonetic Extensions': (char) => char >= 0x1D00 && char <= 0x1D7F,73 // 'Phonetic Extensions Supplement': (char) => char >= 0x1D80 && char <= 0x1DBF,74 // 'Combining Diacritical Marks Supplement': (char) => char >= 0x1DC0 && char <= 0x1DFF,75 // 'Latin Extended Additional': (char) => char >= 0x1E00 && char <= 0x1EFF,76 // 'Greek Extended': (char) => char >= 0x1F00 && char <= 0x1FFF,77 'General Punctuation': (char) => char >= 0x2000 && char <= 0x206F,78 // 'Superscripts and Subscripts': (char) => char >= 0x2070 && char <= 0x209F,79 // 'Currency Symbols': (char) => char >= 0x20A0 && char <= 0x20CF,80 // 'Combining Diacritical Marks for Symbols': (char) => char >= 0x20D0 && char <= 0x20FF,81 'Letterlike Symbols': (char) => char >= 0x2100 && char <= 0x214F,82 'Number Forms': (char) => char >= 0x2150 && char <= 0x218F,83 // 'Arrows': (char) => char >= 0x2190 && char <= 0x21FF,84 // 'Mathematical Operators': (char) => char >= 0x2200 && char <= 0x22FF,85 'Miscellaneous Technical': (char) => char >= 0x2300 && char <= 0x23FF,86 'Control Pictures': (char) => char >= 0x2400 && char <= 0x243F,87 'Optical Character Recognition': (char) => char >= 0x2440 && char <= 0x245F,88 'Enclosed Alphanumerics': (char) => char >= 0x2460 && char <= 0x24FF,89 // 'Box Drawing': (char) => char >= 0x2500 && char <= 0x257F,90 // 'Block Elements': (char) => char >= 0x2580 && char <= 0x259F,91 'Geometric Shapes': (char) => char >= 0x25A0 && char <= 0x25FF,92 'Miscellaneous Symbols': (char) => char >= 0x2600 && char <= 0x26FF,93 // 'Dingbats': (char) => char >= 0x2700 && char <= 0x27BF,94 // 'Miscellaneous Mathematical Symbols-A': (char) => char >= 0x27C0 && char <= 0x27EF,95 // 'Supplemental Arrows-A': (char) => char >= 0x27F0 && char <= 0x27FF,96 // 'Braille Patterns': (char) => char >= 0x2800 && char <= 0x28FF,97 // 'Supplemental Arrows-B': (char) => char >= 0x2900 && char <= 0x297F,98 // 'Miscellaneous Mathematical Symbols-B': (char) => char >= 0x2980 && char <= 0x29FF,99 // 'Supplemental Mathematical Operators': (char) => char >= 0x2A00 && char <= 0x2AFF,100 'Miscellaneous Symbols and Arrows': (char) => char >= 0x2B00 && char <= 0x2BFF,101 // 'Glagolitic': (char) => char >= 0x2C00 && char <= 0x2C5F,102 // 'Latin Extended-C': (char) => char >= 0x2C60 && char <= 0x2C7F,103 // 'Coptic': (char) => char >= 0x2C80 && char <= 0x2CFF,104 // 'Georgian Supplement': (char) => char >= 0x2D00 && char <= 0x2D2F,105 // 'Tifinagh': (char) => char >= 0x2D30 && char <= 0x2D7F,106 // 'Ethiopic Extended': (char) => char >= 0x2D80 && char <= 0x2DDF,107 // 'Cyrillic Extended-A': (char) => char >= 0x2DE0 && char <= 0x2DFF,108 // 'Supplemental Punctuation': (char) => char >= 0x2E00 && char <= 0x2E7F,109 'CJK Radicals Supplement': (char) => char >= 0x2E80 && char <= 0x2EFF,110 'Kangxi Radicals': (char) => char >= 0x2F00 && char <= 0x2FDF,111 'Ideographic Description Characters': (char) => char >= 0x2FF0 && char <= 0x2FFF,112 'CJK Symbols and Punctuation': (char) => char >= 0x3000 && char <= 0x303F,113 'Hiragana': (char) => char >= 0x3040 && char <= 0x309F,114 'Katakana': (char) => char >= 0x30A0 && char <= 0x30FF,115 'Bopomofo': (char) => char >= 0x3100 && char <= 0x312F,116 'Hangul Compatibility Jamo': (char) => char >= 0x3130 && char <= 0x318F,117 'Kanbun': (char) => char >= 0x3190 && char <= 0x319F,118 'Bopomofo Extended': (char) => char >= 0x31A0 && char <= 0x31BF,119 'CJK Strokes': (char) => char >= 0x31C0 && char <= 0x31EF,120 'Katakana Phonetic Extensions': (char) => char >= 0x31F0 && char <= 0x31FF,121 'Enclosed CJK Letters and Months': (char) => char >= 0x3200 && char <= 0x32FF,122 'CJK Compatibility': (char) => char >= 0x3300 && char <= 0x33FF,123 'CJK Unified Ideographs Extension A': (char) => char >= 0x3400 && char <= 0x4DBF,124 'Yijing Hexagram Symbols': (char) => char >= 0x4DC0 && char <= 0x4DFF,125 'CJK Unified Ideographs': (char) => char >= 0x4E00 && char <= 0x9FFF,126 'Yi Syllables': (char) => char >= 0xA000 && char <= 0xA48F,127 'Yi Radicals': (char) => char >= 0xA490 && char <= 0xA4CF,128 // 'Lisu': (char) => char >= 0xA4D0 && char <= 0xA4FF,129 // 'Vai': (char) => char >= 0xA500 && char <= 0xA63F,130 // 'Cyrillic Extended-B': (char) => char >= 0xA640 && char <= 0xA69F,131 // 'Bamum': (char) => char >= 0xA6A0 && char <= 0xA6FF,132 // 'Modifier Tone Letters': (char) => char >= 0xA700 && char <= 0xA71F,133 // 'Latin Extended-D': (char) => char >= 0xA720 && char <= 0xA7FF,134 // 'Syloti Nagri': (char) => char >= 0xA800 && char <= 0xA82F,135 // 'Common Indic Number Forms': (char) => char >= 0xA830 && char <= 0xA83F,136 // 'Phags-pa': (char) => char >= 0xA840 && char <= 0xA87F,137 // 'Saurashtra': (char) => char >= 0xA880 && char <= 0xA8DF,138 // 'Devanagari Extended': (char) => char >= 0xA8E0 && char <= 0xA8FF,139 // 'Kayah Li': (char) => char >= 0xA900 && char <= 0xA92F,140 // 'Rejang': (char) => char >= 0xA930 && char <= 0xA95F,141 'Hangul Jamo Extended-A': (char) => char >= 0xA960 && char <= 0xA97F,142 // 'Javanese': (char) => char >= 0xA980 && char <= 0xA9DF,143 // 'Myanmar Extended-B': (char) => char >= 0xA9E0 && char <= 0xA9FF,144 // 'Cham': (char) => char >= 0xAA00 && char <= 0xAA5F,145 // 'Myanmar Extended-A': (char) => char >= 0xAA60 && char <= 0xAA7F,146 // 'Tai Viet': (char) => char >= 0xAA80 && char <= 0xAADF,147 // 'Meetei Mayek Extensions': (char) => char >= 0xAAE0 && char <= 0xAAFF,148 // 'Ethiopic Extended-A': (char) => char >= 0xAB00 && char <= 0xAB2F,149 // 'Latin Extended-E': (char) => char >= 0xAB30 && char <= 0xAB6F,150 // 'Cherokee Supplement': (char) => char >= 0xAB70 && char <= 0xABBF,151 // 'Meetei Mayek': (char) => char >= 0xABC0 && char <= 0xABFF,152 'Hangul Syllables': (char) => char >= 0xAC00 && char <= 0xD7AF,153 'Hangul Jamo Extended-B': (char) => char >= 0xD7B0 && char <= 0xD7FF,154 // 'High Surrogates': (char) => char >= 0xD800 && char <= 0xDB7F,155 // 'High Private Use Surrogates': (char) => char >= 0xDB80 && char <= 0xDBFF,156 // 'Low Surrogates': (char) => char >= 0xDC00 && char <= 0xDFFF,157 'Private Use Area': (char) => char >= 0xE000 && char <= 0xF8FF,158 'CJK Compatibility Ideographs': (char) => char >= 0xF900 && char <= 0xFAFF,159 // 'Alphabetic Presentation Forms': (char) => char >= 0xFB00 && char <= 0xFB4F,160 'Arabic Presentation Forms-A': (char) => char >= 0xFB50 && char <= 0xFDFF,161 // 'Variation Selectors': (char) => char >= 0xFE00 && char <= 0xFE0F,162 'Vertical Forms': (char) => char >= 0xFE10 && char <= 0xFE1F,163 // 'Combining Half Marks': (char) => char >= 0xFE20 && char <= 0xFE2F,164 'CJK Compatibility Forms': (char) => char >= 0xFE30 && char <= 0xFE4F,165 'Small Form Variants': (char) => char >= 0xFE50 && char <= 0xFE6F,166 'Arabic Presentation Forms-B': (char) => char >= 0xFE70 && char <= 0xFEFF,167 'Halfwidth and Fullwidth Forms': (char) => char >= 0xFF00 && char <= 0xFFEF168 // 'Specials': (char) => char >= 0xFFF0 && char <= 0xFFFF,169 // 'Linear B Syllabary': (char) => char >= 0x10000 && char <= 0x1007F,170 // 'Linear B Ideograms': (char) => char >= 0x10080 && char <= 0x100FF,171 // 'Aegean Numbers': (char) => char >= 0x10100 && char <= 0x1013F,172 // 'Ancient Greek Numbers': (char) => char >= 0x10140 && char <= 0x1018F,173 // 'Ancient Symbols': (char) => char >= 0x10190 && char <= 0x101CF,174 // 'Phaistos Disc': (char) => char >= 0x101D0 && char <= 0x101FF,175 // 'Lycian': (char) => char >= 0x10280 && char <= 0x1029F,176 // 'Carian': (char) => char >= 0x102A0 && char <= 0x102DF,177 // 'Coptic Epact Numbers': (char) => char >= 0x102E0 && char <= 0x102FF,178 // 'Old Italic': (char) => char >= 0x10300 && char <= 0x1032F,179 // 'Gothic': (char) => char >= 0x10330 && char <= 0x1034F,180 // 'Old Permic': (char) => char >= 0x10350 && char <= 0x1037F,181 // 'Ugaritic': (char) => char >= 0x10380 && char <= 0x1039F,182 // 'Old Persian': (char) => char >= 0x103A0 && char <= 0x103DF,183 // 'Deseret': (char) => char >= 0x10400 && char <= 0x1044F,184 // 'Shavian': (char) => char >= 0x10450 && char <= 0x1047F,185 // 'Osmanya': (char) => char >= 0x10480 && char <= 0x104AF,186 // 'Osage': (char) => char >= 0x104B0 && char <= 0x104FF,187 // 'Elbasan': (char) => char >= 0x10500 && char <= 0x1052F,188 // 'Caucasian Albanian': (char) => char >= 0x10530 && char <= 0x1056F,189 // 'Linear A': (char) => char >= 0x10600 && char <= 0x1077F,190 // 'Cypriot Syllabary': (char) => char >= 0x10800 && char <= 0x1083F,191 // 'Imperial Aramaic': (char) => char >= 0x10840 && char <= 0x1085F,192 // 'Palmyrene': (char) => char >= 0x10860 && char <= 0x1087F,193 // 'Nabataean': (char) => char >= 0x10880 && char <= 0x108AF,194 // 'Hatran': (char) => char >= 0x108E0 && char <= 0x108FF,195 // 'Phoenician': (char) => char >= 0x10900 && char <= 0x1091F,196 // 'Lydian': (char) => char >= 0x10920 && char <= 0x1093F,197 // 'Meroitic Hieroglyphs': (char) => char >= 0x10980 && char <= 0x1099F,198 // 'Meroitic Cursive': (char) => char >= 0x109A0 && char <= 0x109FF,199 // 'Kharoshthi': (char) => char >= 0x10A00 && char <= 0x10A5F,200 // 'Old South Arabian': (char) => char >= 0x10A60 && char <= 0x10A7F,201 // 'Old North Arabian': (char) => char >= 0x10A80 && char <= 0x10A9F,202 // 'Manichaean': (char) => char >= 0x10AC0 && char <= 0x10AFF,203 // 'Avestan': (char) => char >= 0x10B00 && char <= 0x10B3F,204 // 'Inscriptional Parthian': (char) => char >= 0x10B40 && char <= 0x10B5F,205 // 'Inscriptional Pahlavi': (char) => char >= 0x10B60 && char <= 0x10B7F,206 // 'Psalter Pahlavi': (char) => char >= 0x10B80 && char <= 0x10BAF,207 // 'Old Turkic': (char) => char >= 0x10C00 && char <= 0x10C4F,208 // 'Old Hungarian': (char) => char >= 0x10C80 && char <= 0x10CFF,209 // 'Hanifi Rohingya': (char) => char >= 0x10D00 && char <= 0x10D3F,210 // 'Rumi Numeral Symbols': (char) => char >= 0x10E60 && char <= 0x10E7F,211 // 'Old Sogdian': (char) => char >= 0x10F00 && char <= 0x10F2F,212 // 'Sogdian': (char) => char >= 0x10F30 && char <= 0x10F6F,213 // 'Elymaic': (char) => char >= 0x10FE0 && char <= 0x10FFF,214 // 'Brahmi': (char) => char >= 0x11000 && char <= 0x1107F,215 // 'Kaithi': (char) => char >= 0x11080 && char <= 0x110CF,216 // 'Sora Sompeng': (char) => char >= 0x110D0 && char <= 0x110FF,217 // 'Chakma': (char) => char >= 0x11100 && char <= 0x1114F,218 // 'Mahajani': (char) => char >= 0x11150 && char <= 0x1117F,219 // 'Sharada': (char) => char >= 0x11180 && char <= 0x111DF,220 // 'Sinhala Archaic Numbers': (char) => char >= 0x111E0 && char <= 0x111FF,221 // 'Khojki': (char) => char >= 0x11200 && char <= 0x1124F,222 // 'Multani': (char) => char >= 0x11280 && char <= 0x112AF,223 // 'Khudawadi': (char) => char >= 0x112B0 && char <= 0x112FF,224 // 'Grantha': (char) => char >= 0x11300 && char <= 0x1137F,225 // 'Newa': (char) => char >= 0x11400 && char <= 0x1147F,226 // 'Tirhuta': (char) => char >= 0x11480 && char <= 0x114DF,227 // 'Siddham': (char) => char >= 0x11580 && char <= 0x115FF,228 // 'Modi': (char) => char >= 0x11600 && char <= 0x1165F,229 // 'Mongolian Supplement': (char) => char >= 0x11660 && char <= 0x1167F,230 // 'Takri': (char) => char >= 0x11680 && char <= 0x116CF,231 // 'Ahom': (char) => char >= 0x11700 && char <= 0x1173F,232 // 'Dogra': (char) => char >= 0x11800 && char <= 0x1184F,233 // 'Warang Citi': (char) => char >= 0x118A0 && char <= 0x118FF,234 // 'Nandinagari': (char) => char >= 0x119A0 && char <= 0x119FF,235 // 'Zanabazar Square': (char) => char >= 0x11A00 && char <= 0x11A4F,236 // 'Soyombo': (char) => char >= 0x11A50 && char <= 0x11AAF,237 // 'Pau Cin Hau': (char) => char >= 0x11AC0 && char <= 0x11AFF,238 // 'Bhaiksuki': (char) => char >= 0x11C00 && char <= 0x11C6F,239 // 'Marchen': (char) => char >= 0x11C70 && char <= 0x11CBF,240 // 'Masaram Gondi': (char) => char >= 0x11D00 && char <= 0x11D5F,241 // 'Gunjala Gondi': (char) => char >= 0x11D60 && char <= 0x11DAF,242 // 'Makasar': (char) => char >= 0x11EE0 && char <= 0x11EFF,243 // 'Tamil Supplement': (char) => char >= 0x11FC0 && char <= 0x11FFF,244 // 'Cuneiform': (char) => char >= 0x12000 && char <= 0x123FF,245 // 'Cuneiform Numbers and Punctuation': (char) => char >= 0x12400 && char <= 0x1247F,246 // 'Early Dynastic Cuneiform': (char) => char >= 0x12480 && char <= 0x1254F,247 // 'Egyptian Hieroglyphs': (char) => char >= 0x13000 && char <= 0x1342F,248 // 'Egyptian Hieroglyph Format Controls': (char) => char >= 0x13430 && char <= 0x1343F,249 // 'Anatolian Hieroglyphs': (char) => char >= 0x14400 && char <= 0x1467F,250 // 'Bamum Supplement': (char) => char >= 0x16800 && char <= 0x16A3F,251 // 'Mro': (char) => char >= 0x16A40 && char <= 0x16A6F,252 // 'Bassa Vah': (char) => char >= 0x16AD0 && char <= 0x16AFF,253 // 'Pahawh Hmong': (char) => char >= 0x16B00 && char <= 0x16B8F,254 // 'Medefaidrin': (char) => char >= 0x16E40 && char <= 0x16E9F,255 // 'Miao': (char) => char >= 0x16F00 && char <= 0x16F9F,256 // 'Ideographic Symbols and Punctuation': (char) => char >= 0x16FE0 && char <= 0x16FFF,257 // 'Tangut': (char) => char >= 0x17000 && char <= 0x187FF,258 // 'Tangut Components': (char) => char >= 0x18800 && char <= 0x18AFF,259 // 'Kana Supplement': (char) => char >= 0x1B000 && char <= 0x1B0FF,260 // 'Kana Extended-A': (char) => char >= 0x1B100 && char <= 0x1B12F,261 // 'Small Kana Extension': (char) => char >= 0x1B130 && char <= 0x1B16F,262 // 'Nushu': (char) => char >= 0x1B170 && char <= 0x1B2FF,263 // 'Duployan': (char) => char >= 0x1BC00 && char <= 0x1BC9F,264 // 'Shorthand Format Controls': (char) => char >= 0x1BCA0 && char <= 0x1BCAF,265 // 'Byzantine Musical Symbols': (char) => char >= 0x1D000 && char <= 0x1D0FF,266 // 'Musical Symbols': (char) => char >= 0x1D100 && char <= 0x1D1FF,267 // 'Ancient Greek Musical Notation': (char) => char >= 0x1D200 && char <= 0x1D24F,268 // 'Mayan Numerals': (char) => char >= 0x1D2E0 && char <= 0x1D2FF,269 // 'Tai Xuan Jing Symbols': (char) => char >= 0x1D300 && char <= 0x1D35F,270 // 'Counting Rod Numerals': (char) => char >= 0x1D360 && char <= 0x1D37F,271 // 'Mathematical Alphanumeric Symbols': (char) => char >= 0x1D400 && char <= 0x1D7FF,272 // 'Sutton SignWriting': (char) => char >= 0x1D800 && char <= 0x1DAAF,273 // 'Glagolitic Supplement': (char) => char >= 0x1E000 && char <= 0x1E02F,274 // 'Nyiakeng Puachue Hmong': (char) => char >= 0x1E100 && char <= 0x1E14F,275 // 'Wancho': (char) => char >= 0x1E2C0 && char <= 0x1E2FF,276 // 'Mende Kikakui': (char) => char >= 0x1E800 && char <= 0x1E8DF,277 // 'Adlam': (char) => char >= 0x1E900 && char <= 0x1E95F,278 // 'Indic Siyaq Numbers': (char) => char >= 0x1EC70 && char <= 0x1ECBF,279 // 'Ottoman Siyaq Numbers': (char) => char >= 0x1ED00 && char <= 0x1ED4F,280 // 'Arabic Mathematical Alphabetic Symbols': (char) => char >= 0x1EE00 && char <= 0x1EEFF,281 // 'Mahjong Tiles': (char) => char >= 0x1F000 && char <= 0x1F02F,282 // 'Domino Tiles': (char) => char >= 0x1F030 && char <= 0x1F09F,283 // 'Playing Cards': (char) => char >= 0x1F0A0 && char <= 0x1F0FF,284 // 'Enclosed Alphanumeric Supplement': (char) => char >= 0x1F100 && char <= 0x1F1FF,285 // 'Enclosed Ideographic Supplement': (char) => char >= 0x1F200 && char <= 0x1F2FF,286 // 'Miscellaneous Symbols and Pictographs': (char) => char >= 0x1F300 && char <= 0x1F5FF,287 // 'Emoticons': (char) => char >= 0x1F600 && char <= 0x1F64F,288 // 'Ornamental Dingbats': (char) => char >= 0x1F650 && char <= 0x1F67F,289 // 'Transport and Map Symbols': (char) => char >= 0x1F680 && char <= 0x1F6FF,290 // 'Alchemical Symbols': (char) => char >= 0x1F700 && char <= 0x1F77F,291 // 'Geometric Shapes Extended': (char) => char >= 0x1F780 && char <= 0x1F7FF,292 // 'Supplemental Arrows-C': (char) => char >= 0x1F800 && char <= 0x1F8FF,293 // 'Supplemental Symbols and Pictographs': (char) => char >= 0x1F900 && char <= 0x1F9FF,294 // 'Chess Symbols': (char) => char >= 0x1FA00 && char <= 0x1FA6F,295 // 'Symbols and Pictographs Extended-A': (char) => char >= 0x1FA70 && char <= 0x1FAFF,296 // 'CJK Unified Ideographs Extension B': (char) => char >= 0x20000 && char <= 0x2A6DF,297 // 'CJK Unified Ideographs Extension C': (char) => char >= 0x2A700 && char <= 0x2B73F,298 // 'CJK Unified Ideographs Extension D': (char) => char >= 0x2B740 && char <= 0x2B81F,299 // 'CJK Unified Ideographs Extension E': (char) => char >= 0x2B820 && char <= 0x2CEAF,300 // 'CJK Unified Ideographs Extension F': (char) => char >= 0x2CEB0 && char <= 0x2EBEF,301 // 'CJK Compatibility Ideographs Supplement': (char) => char >= 0x2F800 && char <= 0x2FA1F,302 // 'Tags': (char) => char >= 0xE0000 && char <= 0xE007F,303 // 'Variation Selectors Supplement': (char) => char >= 0xE0100 && char <= 0xE01EF,304 // 'Supplementary Private Use Area-A': (char) => char >= 0xF0000 && char <= 0xFFFFF,305 // 'Supplementary Private Use Area-B': (char) => char >= 0x100000 && char <= 0x10FFFF,306};...

Full Screen

Full Screen

15.5.4.4-4.js

Source:15.5.4.4-4.js Github

copy

Full Screen

1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */2/* ***** BEGIN LICENSE BLOCK *****3 * Version: MPL 1.1/GPL 2.0/LGPL 2.14 *5 * The contents of this file are subject to the Mozilla Public License Version6 * 1.1 (the "License"); you may not use this file except in compliance with7 * the License. You may obtain a copy of the License at8 * http://www.mozilla.org/MPL/9 *10 * Software distributed under the License is distributed on an "AS IS" basis,11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License12 * for the specific language governing rights and limitations under the13 * License.14 *15 * The Original Code is Mozilla Communicator client code, released16 * March 31, 1998.17 *18 * The Initial Developer of the Original Code is19 * Netscape Communications Corporation.20 * Portions created by the Initial Developer are Copyright (C) 199821 * the Initial Developer. All Rights Reserved.22 *23 * Contributor(s):24 *25 * Alternatively, the contents of this file may be used under the terms of26 * either the GNU General Public License Version 2 or later (the "GPL"), or27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),28 * in which case the provisions of the GPL or the LGPL are applicable instead29 * of those above. If you wish to allow use of your version of this file only30 * under the terms of either the GPL or the LGPL, and not to allow others to31 * use your version of this file under the terms of the MPL, indicate your32 * decision by deleting the provisions above and replace them with the notice33 * and other provisions required by the GPL or the LGPL. If you do not delete34 * the provisions above, a recipient may use your version of this file under35 * the terms of any one of the MPL, the GPL or the LGPL.36 *37 * ***** END LICENSE BLOCK ***** */38gTestfile = '15.5.4.4-4.js';39/**40 File Name: 15.5.4.4-4.js41 ECMA Section: 15.5.4.4 String.prototype.charAt(pos)42 Description: Returns a string containing the character at position43 pos in the string. If there is no character at that44 string, the result is the empty string. The result is45 a string value, not a String object.46 When the charAt method is called with one argument,47 pos, the following steps are taken:48 1. Call ToString, with this value as its argument49 2. Call ToInteger pos50 3. Compute the number of characters in Result(1)51 4. If Result(2) is less than 0 is or not less than52 Result(3), return the empty string53 5. Return a string of length 1 containing one character54 from result (1), the character at position Result(2).55 Note that the charAt function is intentionally generic;56 it does not require that its this value be a String57 object. Therefore it can be transferred to other kinds58 of objects for use as a method.59 This tests assiging charAt to primitive types..60 Author: christine@netscape.com61 Date: 2 october 199762*/63var SECTION = "15.5.4.4-4";64var VERSION = "ECMA_2";65startTest();66var TITLE = "String.prototype.charAt";67writeHeaderToLog( SECTION + " "+ TITLE);68new TestCase( SECTION, "x = new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(0)", "1", eval("x=new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(0)") );69new TestCase( SECTION, "x = new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(1)", ",", eval("x=new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(1)") );70new TestCase( SECTION, "x = new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(2)", "2", eval("x=new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(2)") );71new TestCase( SECTION, "x = new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(3)", ",", eval("x=new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(3)") );72new TestCase( SECTION, "x = new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(4)", "3", eval("x=new Array(1,2,3); x.charAt = String.prototype.charAt; x.charAt(4)") );73new TestCase( SECTION, "x = new Array(); x.charAt = String.prototype.charAt; x.charAt(0)", "", eval("x = new Array(); x.charAt = String.prototype.charAt; x.charAt(0)") );74new TestCase( SECTION, "x = new Number(123); x.charAt = String.prototype.charAt; x.charAt(0)", "1", eval("x=new Number(123); x.charAt = String.prototype.charAt; x.charAt(0)") );75new TestCase( SECTION, "x = new Number(123); x.charAt = String.prototype.charAt; x.charAt(1)", "2", eval("x=new Number(123); x.charAt = String.prototype.charAt; x.charAt(1)") );76new TestCase( SECTION, "x = new Number(123); x.charAt = String.prototype.charAt; x.charAt(2)", "3", eval("x=new Number(123); x.charAt = String.prototype.charAt; x.charAt(2)") );77new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(0)", "[", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(0)") );78new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(1)", "o", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(1)") );79new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(2)", "b", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(2)") );80new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(3)", "j", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(3)") );81new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(4)", "e", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(4)") );82new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(5)", "c", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(5)") );83new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(6)", "t", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(6)") );84new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(7)", " ", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(7)") );85new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(8)", "O", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(8)") );86new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(9)", "b", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(9)") );87new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(10)", "j", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(10)") );88new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(11)", "e", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(11)") );89new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(12)", "c", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(12)") );90new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(13)", "t", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(13)") );91new TestCase( SECTION, "x = new Object(); x.charAt = String.prototype.charAt; x.charAt(14)", "]", eval("x=new Object(); x.charAt = String.prototype.charAt; x.charAt(14)") );92new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(0)", "[", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(0)") );93new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(1)", "o", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(1)") );94new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(2)", "b", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(2)") );95new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(3)", "j", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(3)") );96new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(4)", "e", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(4)") );97new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(5)", "c", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(5)") );98new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(6)", "t", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(6)") );99new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(7)", " ", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(7)") );100new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(8)", "F", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(8)") );101new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(9)", "u", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(9)") );102new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(10)", "n", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(10)") );103new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(11)", "c", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(11)") );104new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(12)", "t", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(12)") );105new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(13)", "i", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(13)") );106new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(14)", "o", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(14)") );107new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(15)", "n", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(15)") );108new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(16)", "]", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(16)") );109new TestCase( SECTION, "x = new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(17)", "", eval("x=new Function(); x.toString = Object.prototype.toString; x.charAt = String.prototype.charAt; x.charAt(17)") );...

Full Screen

Full Screen

9.7.js

Source:9.7.js Github

copy

Full Screen

1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */2/* ***** BEGIN LICENSE BLOCK *****3 * Version: MPL 1.1/GPL 2.0/LGPL 2.14 *5 * The contents of this file are subject to the Mozilla Public License Version6 * 1.1 (the "License"); you may not use this file except in compliance with7 * the License. You may obtain a copy of the License at8 * http://www.mozilla.org/MPL/9 *10 * Software distributed under the License is distributed on an "AS IS" basis,11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License12 * for the specific language governing rights and limitations under the13 * License.14 *15 * The Original Code is Mozilla Communicator client code, released16 * March 31, 1998.17 *18 * The Initial Developer of the Original Code is19 * Netscape Communications Corporation.20 * Portions created by the Initial Developer are Copyright (C) 199821 * the Initial Developer. All Rights Reserved.22 *23 * Contributor(s):24 *25 * Alternatively, the contents of this file may be used under the terms of26 * either the GNU General Public License Version 2 or later (the "GPL"), or27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),28 * in which case the provisions of the GPL or the LGPL are applicable instead29 * of those above. If you wish to allow use of your version of this file only30 * under the terms of either the GPL or the LGPL, and not to allow others to31 * use your version of this file under the terms of the MPL, indicate your32 * decision by deleting the provisions above and replace them with the notice33 * and other provisions required by the GPL or the LGPL. If you do not delete34 * the provisions above, a recipient may use your version of this file under35 * the terms of any one of the MPL, the GPL or the LGPL.36 *37 * ***** END LICENSE BLOCK ***** */38gTestfile = '9.7.js';39/**40 File Name: 9.7.js41 ECMA Section: 9.7 Type Conversion: ToInt1642 Description: rules for converting an argument to an unsigned43 16 bit integer in the range 0 to 2^16-1.44 this test uses String.prototype.fromCharCode() and45 String.prototype.charCodeAt() to test ToInt16.46 special cases:47 -0 returns 048 Infinity returns 049 -Infinity returns 050 0 returns 051 Author: christine@netscape.com52 Date: 17 july 199753*/54var SECTION = "9.7";55var VERSION = "ECMA_1";56startTest();57writeHeaderToLog( SECTION + " Type Conversion: ToInt16");58/*59 new TestCase( "9.7", "String.fromCharCode(0).charCodeAt(0)", 0, String.fromCharCode(0).charCodeAt(0) );60 new TestCase( "9.7", "String.fromCharCode(-0).charCodeAt(0)", 0, String.fromCharCode(-0).charCodeAt(0) );61 new TestCase( "9.7", "String.fromCharCode(1).charCodeAt(0)", 1, String.fromCharCode(1).charCodeAt(0) );62 new TestCase( "9.7", "String.fromCharCode(64).charCodeAt(0)", 64, String.fromCharCode(64).charCodeAt(0) );63 new TestCase( "9.7", "String.fromCharCode(126).charCodeAt(0)", 126, String.fromCharCode(126).charCodeAt(0) );64 new TestCase( "9.7", "String.fromCharCode(127).charCodeAt(0)", 127, String.fromCharCode(127).charCodeAt(0) );65 new TestCase( "9.7", "String.fromCharCode(128).charCodeAt(0)", 128, String.fromCharCode(128).charCodeAt(0) );66 new TestCase( "9.7", "String.fromCharCode(130).charCodeAt(0)", 130, String.fromCharCode(130).charCodeAt(0) );67 new TestCase( "9.7", "String.fromCharCode(255).charCodeAt(0)", 255, String.fromCharCode(255).charCodeAt(0) );68 new TestCase( "9.7", "String.fromCharCode(256).charCodeAt(0)", 256, String.fromCharCode(256).charCodeAt(0) );69 new TestCase( "9.7", "String.fromCharCode(Math.pow(2,16)-1).charCodeAt(0)", 65535, String.fromCharCode(Math.pow(2,16)-1).charCodeAt(0) );70 new TestCase( "9.7", "String.fromCharCode(Math.pow(2,16)).charCodeAt(0)", 0, String.fromCharCode(Math.pow(2,16)).charCodeAt(0) );71*/72new TestCase( "9.7", "String.fromCharCode(0).charCodeAt(0)", ToInt16(0), String.fromCharCode(0).charCodeAt(0) );73new TestCase( "9.7", "String.fromCharCode(-0).charCodeAt(0)", ToInt16(0), String.fromCharCode(-0).charCodeAt(0) );74new TestCase( "9.7", "String.fromCharCode(1).charCodeAt(0)", ToInt16(1), String.fromCharCode(1).charCodeAt(0) );75new TestCase( "9.7", "String.fromCharCode(64).charCodeAt(0)", ToInt16(64), String.fromCharCode(64).charCodeAt(0) );76new TestCase( "9.7", "String.fromCharCode(126).charCodeAt(0)", ToInt16(126), String.fromCharCode(126).charCodeAt(0) );77new TestCase( "9.7", "String.fromCharCode(127).charCodeAt(0)", ToInt16(127), String.fromCharCode(127).charCodeAt(0) );78new TestCase( "9.7", "String.fromCharCode(128).charCodeAt(0)", ToInt16(128), String.fromCharCode(128).charCodeAt(0) );79new TestCase( "9.7", "String.fromCharCode(130).charCodeAt(0)", ToInt16(130), String.fromCharCode(130).charCodeAt(0) );80new TestCase( "9.7", "String.fromCharCode(255).charCodeAt(0)", ToInt16(255), String.fromCharCode(255).charCodeAt(0) );81new TestCase( "9.7", "String.fromCharCode(256).charCodeAt(0)", ToInt16(256), String.fromCharCode(256).charCodeAt(0) );82new TestCase( "9.7", "String.fromCharCode(Math.pow(2,16)-1).charCodeAt(0)", 65535, String.fromCharCode(Math.pow(2,16)-1).charCodeAt(0) );83new TestCase( "9.7", "String.fromCharCode(Math.pow(2,16)).charCodeAt(0)", 0, String.fromCharCode(Math.pow(2,16)).charCodeAt(0) );84new TestCase( "9.7", "String.fromCharCode(65535).charCodeAt(0)", ToInt16(65535), String.fromCharCode(65535).charCodeAt(0) );85new TestCase( "9.7", "String.fromCharCode(65536).charCodeAt(0)", ToInt16(65536), String.fromCharCode(65536).charCodeAt(0) );86new TestCase( "9.7", "String.fromCharCode(65537).charCodeAt(0)", ToInt16(65537), String.fromCharCode(65537).charCodeAt(0) );87new TestCase( "9.7", "String.fromCharCode(131071).charCodeAt(0)", ToInt16(131071), String.fromCharCode(131071).charCodeAt(0) );88new TestCase( "9.7", "String.fromCharCode(131072).charCodeAt(0)", ToInt16(131072), String.fromCharCode(131072).charCodeAt(0) );89new TestCase( "9.7", "String.fromCharCode(131073).charCodeAt(0)", ToInt16(131073), String.fromCharCode(131073).charCodeAt(0) );90new TestCase( "9.7", "String.fromCharCode('65535').charCodeAt(0)", 65535, String.fromCharCode("65535").charCodeAt(0) );91new TestCase( "9.7", "String.fromCharCode('65536').charCodeAt(0)", 0, String.fromCharCode("65536").charCodeAt(0) );92new TestCase( "9.7", "String.fromCharCode(-1).charCodeAt(0)", ToInt16(-1), String.fromCharCode(-1).charCodeAt(0) );93new TestCase( "9.7", "String.fromCharCode(-64).charCodeAt(0)", ToInt16(-64), String.fromCharCode(-64).charCodeAt(0) );94new TestCase( "9.7", "String.fromCharCode(-126).charCodeAt(0)", ToInt16(-126), String.fromCharCode(-126).charCodeAt(0) );95new TestCase( "9.7", "String.fromCharCode(-127).charCodeAt(0)", ToInt16(-127), String.fromCharCode(-127).charCodeAt(0) );96new TestCase( "9.7", "String.fromCharCode(-128).charCodeAt(0)", ToInt16(-128), String.fromCharCode(-128).charCodeAt(0) );97new TestCase( "9.7", "String.fromCharCode(-130).charCodeAt(0)", ToInt16(-130), String.fromCharCode(-130).charCodeAt(0) );98new TestCase( "9.7", "String.fromCharCode(-255).charCodeAt(0)", ToInt16(-255), String.fromCharCode(-255).charCodeAt(0) );99new TestCase( "9.7", "String.fromCharCode(-256).charCodeAt(0)", ToInt16(-256), String.fromCharCode(-256).charCodeAt(0) );100new TestCase( "9.7", "String.fromCharCode(-Math.pow(2,16)-1).charCodeAt(0)", 65535, String.fromCharCode(-Math.pow(2,16)-1).charCodeAt(0) );101new TestCase( "9.7", "String.fromCharCode(-Math.pow(2,16)).charCodeAt(0)", 0, String.fromCharCode(-Math.pow(2,16)).charCodeAt(0) );102new TestCase( "9.7", "String.fromCharCode(-65535).charCodeAt(0)", ToInt16(-65535), String.fromCharCode(-65535).charCodeAt(0) );103new TestCase( "9.7", "String.fromCharCode(-65536).charCodeAt(0)", ToInt16(-65536), String.fromCharCode(-65536).charCodeAt(0) );104new TestCase( "9.7", "String.fromCharCode(-65537).charCodeAt(0)", ToInt16(-65537), String.fromCharCode(-65537).charCodeAt(0) );105new TestCase( "9.7", "String.fromCharCode(-131071).charCodeAt(0)", ToInt16(-131071), String.fromCharCode(-131071).charCodeAt(0) );106new TestCase( "9.7", "String.fromCharCode(-131072).charCodeAt(0)", ToInt16(-131072), String.fromCharCode(-131072).charCodeAt(0) );107new TestCase( "9.7", "String.fromCharCode(-131073).charCodeAt(0)", ToInt16(-131073), String.fromCharCode(-131073).charCodeAt(0) );108new TestCase( "9.7", "String.fromCharCode('-65535').charCodeAt(0)", ToInt16(-65535), String.fromCharCode("-65535").charCodeAt(0) );109new TestCase( "9.7", "String.fromCharCode('-65536').charCodeAt(0)", ToInt16(-65536), String.fromCharCode("-65536").charCodeAt(0) );110// new TestCase( "9.7", "String.fromCharCode(2147483648).charCodeAt(0)", ToInt16(2147483648), String.fromCharCode(2147483648).charCodeAt(0) );111// the following test cases cause a runtime error. see: http://scopus.mcom.com/bugsplat/show_bug.cgi?id=78878112// new TestCase( "9.7", "String.fromCharCode(Infinity).charCodeAt(0)", 0, String.fromCharCode("Infinity").charCodeAt(0) );113// new TestCase( "9.7", "String.fromCharCode(-Infinity).charCodeAt(0)", 0, String.fromCharCode("-Infinity").charCodeAt(0) );114// new TestCase( "9.7", "String.fromCharCode(NaN).charCodeAt(0)", 0, String.fromCharCode(Number.NaN).charCodeAt(0) );115// new TestCase( "9.7", "String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0)", 0, String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) );116// new TestCase( "9.7", "String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0)", 0, String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) );117test();118function ToInt16( num ) {119 num = Number( num );120 if ( isNaN( num ) || num == 0 || num == Number.POSITIVE_INFINITY || num == Number.NEGATIVE_INFINITY ) {121 return 0;122 }123 var sign = ( num < 0 ) ? -1 : 1;124 num = sign * Math.floor( Math.abs( num ) );125 num = num % Math.pow(2,16);126 num = ( num > -65536 && num < 0) ? 65536 + num : num;127 return num;...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1expect('abc').toStartWith('a')2expect('abc').toEndWith('c')3expect('abc').toStartWith('a')4expect('abc').toEndWith('c')5expect([1, 2, 3]).toStartWith(1)6expect([1, 2, 3]).toEndWith(3)7expect({ a: 1, b: 2 }).toStartWith({ a: 1 })8expect({ a: 1, b: 2 }).toEndWith({ b: 2 })9expect(new Map([['a', 1], ['b', 2]])).toStartWith(new Map([['a', 1]]))10expect(new Map([['a', 1], ['b', 2]])).toEndWith(new Map([['b', 2]]))11expect(new Set([1, 2, 3])).toStartWith(new Set([1]))12expect(new Set([1, 2, 3])).toEndWith(new Set([3]))13const weakset = new WeakSet([{ a: 1 }, { b: 2 }])14expect(weakset).toStartWith(new WeakSet([{ a: 1 }]))15expect(weakset).toEndWith(new WeakSet([{ b: 2 }]))16const weakmap = new WeakMap([[{ a: 1 }, 1], [{ b: 2 }, 2]])17expect(weakmap).toStartWith(new WeakMap([[{ a: 1 }, 1]]))18expect(weakmap).toEndWith(new WeakMap([[{ b: 2 }, 2]]))19expect(new Set([1, 2, 3])).toStartWith(new Set([1]))20expect(new Set([1, 2, 3])).toEndWith(new Set([3]))21expect(new Uint8Array([1, 2, 3])).toStartWith(new

Full Screen

Using AI Code Generation

copy

Full Screen

1expect('Hello World').toStartWith('Hello');2expect('Hello World').toEndWith('World');3expect('Hello World').toInclude('Hello');4expect('Hello World').toExclude('World');5expect('Hello World').toIncludeAllMembers(['Hello', 'World']);6expect('Hello World').toIncludeAnyMembers(['Hello', 'World']);7expect('Hello World').toIncludeSameMembers(['Hello', 'World']);8expect('Hello World').toExcludeAllMembers(['Hello', 'World']);9expect('Hello World').toExcludeAnyMembers(['Hello', 'World']);10expect('Hello World').toExcludeSameMembers(['Hello', 'World']);11expect('Hello World').toBeEmptyString();12expect('Hello World').toBeNonEmptyString();13expect('Hello World').toBeString();14expect('Hello World').toBeNumber();15expect('Hello World').toBeBoolean();16expect('Hello World').toBeObject();17expect('Hello World').toBeArray();18expect('Hello World').toBeFunction();19expect('Hello World').toBeDate();20expect('Hello World').toBeError();21expect('Hello World').toBeMap();22expect('Hello World').toBeSet();23expect('Hello World').toBeWeakMap();24expect('Hello World').toBe

Full Screen

Using AI Code Generation

copy

Full Screen

1expect('test').toHaveCharAt(0, 't');2expect('test').toHaveCharAt(1, 'e');3expect('test').toHaveCharAt(2, 's');4expect('test').toHaveCharAt(3, 't');5expect('test').not.toHaveCharAt(4, 't');6expect('test').not.toHaveCharAt(2, 't');7expect('test').not.toHaveCharAt(3, 's');8expect('test').not.toHaveCharAt(1, 's');9expect('test').not.toHaveCharAt(0, 's');10expect('test').not.toHaveCharAt(0, 'e');11expect('test').not.toHaveCharAt(1, 't');12expect('test').not.toHaveCharAt(2, 'e');13expect('test').not.toHaveCharAt(3, 't');14expect('test').not.toHaveCharAt(4, 's');15expect('test').not.toHaveCharAt(4, 'e');16expect('test').not.toHaveCharAt(3, 'e');17expect('test').not.toHaveCharAt(2, 's');18expect('test').not.toHaveCharAt(1, 't');19expect('test').not.toHaveCharAt(0, 's');20expect('test').not.toHaveCharAt(0, '

Full Screen

Using AI Code Generation

copy

Full Screen

1expect('hello').toStartWith('h');2expect('hello').toStartWith('h');3expect(['hello']).toStartWith('h');4expect({hello: 'world'}).toStartWith('h');5expect(new Map([['hello', 'world']])).toStartWith('h');6expect(new Set(['hello'])).toStartWith('h');7expect(new WeakSet([{hello: 'world'}])).toStartWith('h');8expect(new WeakMap([[{hello: 'world'}, 'world']])).toStartWith('h');9expect(new Date()).toStartWith('h');10expect(Promise.resolve('hello')).toStartWith('h');11expect(function () {}).toStartWith('h');12expect(function* () {}).toStartWith('h');13expect(async function () {}).toStartWith('h');14expect(async function* () {}).toStartWith('h');15expect(/hello/).toStartWith('h');16expect(new Error('hello')).toStartWith('h');17expect(true).toStartWith('h');18expect(1).toStartWith('h');19expect(Symbol('hello')).toStartWith('h');20expect(new Int8Array([1])).toStartWith('h');21expect(new Uint8Array([1])).toStartWith('h');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { char } = require('jest-extended');2expect('foo').toStartWith('f');3expect('foo').toEndWith('o');4expect('foo').toInclude('o');5expect('foo').toExclude('b');6expect('foo').toIncludeAllMembers(['f', 'o']);7expect('foo').toExcludeAllMembers(['b', 'a']);8expect('foo').toIncludeAnyMembers(['b', 'f']);9expect('foo').toExcludeAnyMembers(['b', 'a']);10expect('foo').toSatisfyAll(char => char !== 'b');11const { date } = require('jest-extended');12expect(new Date()).toBeBefore(new Date(2020, 1, 1));13expect(new Date()).toBeAfter(new Date(2010, 1, 1));14expect(new Date()).toBeDate();15expect(new Date()).toBeIso8601();16expect(new Date()).toBeValidDate();17expect(new Date()).toBeAfterTime(new Date(2010, 1, 1, 1, 1, 1));18expect(new Date()).toBeBeforeTime(new Date(2020, 1, 1, 1, 1, 1));19expect(new Date()).toBeInTheFuture();20expect(new Date()).toBeInThePast();21expect(new Date()).toBeLeapYear();22expect(new Date()).toBeSameDay(new Date());23expect(new Date()).toBeSameHour(new Date());24expect(new Date()).toBeSameMinute(new Date());25expect(new Date()).toBeSameMonth(new Date());26expect(new Date()).toBeSameSecond(new Date());27expect(new Date()).toBeSameWeek(new Date());28expect(new Date()).toBeSameYear(new Date());29expect(new Date()).toBeToday();30expect(new Date()).toBeTomorrow();31expect(new Date()).toBeYesterday();32expect(new Date()).toBeWithinRange(new Date(), new Date());33expect(new Date()).toBeWithinNextWeek();34expect(new Date()).toBeWithinNextMonth();35expect(new Date()).toBeWithinNextYear();36expect(new Date()).toBeWithinLastWeek();37expect(new Date()).toBeWithinLastMonth();38expect(new Date()).toBeWithinLastYear();39const { function } = require('jest-extended');40expect(() => {}).toThrow();41expect(() => {}).toThrowError();42expect(() => {}).toThrowErrorMatchingSnapshot();43expect(() => {}).toThrowErrorMatchingSnapshot();44expect(() => {}).toThrow

Full Screen

Using AI Code Generation

copy

Full Screen

1expect('Hello').toStartWith('H')2expect('Hello').toStartWith('H')3expect('Hello').toStartWith('H')4expect('Hello').toStartWith('H')5expect('Hello').toStartWith('H')6expect('Hello').toStartWith('H')7expect('Hello').toStartWith('H')8expect('Hello').toStartWith('H')9expect('Hello').toStartWith('H')10expect('Hello').toStartWith('H')11expect('Hello').toStartWith('H')12expect('Hello').toStartWith('H')13expect('Hello').toStartWith('H')14expect('Hello').toStartWith('H')15expect('Hello').toStartWith('H')16expect('Hello').toStartWith('H')17expect('Hello').toStartWith('H')18expect('Hello').toStartWith('H')19expect('Hello').toStartWith('H')20expect('Hello').toStartWith('H')21expect('Hello').toStartWith('H')22expect('Hello').toStartWith('H')23expect('Hello').toStartWith('H')24expect('Hello').toStartWith('H')

Full Screen

Using AI Code Generation

copy

Full Screen

1expect('hello').toStartWith('hell');2expect('hello').toEndWith('hello');3expect('hello').toContain('ell');4expect('hello').toMatch(/ell/);5expect('hello').toHaveLength(5);6expect([1, 2, 3]).toIncludeAnyMembers([1, 2]);7expect([1, 2, 3]).toIncludeAllMembers([1, 2]);8expect([1, 2, 3]).toIncludeSameMembers([1, 2]);9expect([1, 2, 3]).toStartWith(1);10expect([1, 2, 3]).toEndWith(3);11expect({ a: 1, b: 2 }).toIncludeAllMembers({ a: 1 });12expect({ a: 1, b: 2 }).toIncludeSameMembers({ a: 1 });13expect({ a: 1, b: 2 }).toStartWith(1);14expect({ a: 1, b: 2 }).toEndWith(2);15expect(1).toBeNumber();16expect(1).toBeOddNumber();17expect(2).toBeEvenNumber();18expect(2).toBeDivisibleBy(1);19expect(1).toBePositive();20expect(1).toBeNegative();21expect(1).toBeGreaterThanOrEqual(1);22expect(1).toBeLessThanOrEqual(1);23expect(1).toBeBetween(0, 2);24expect(Promise.resolve('hello')).toResolve();25expect(Promise.reject('hello')).toReject();26expect(new Date()).toBeDate();27expect(new Date()).toBeBefore(new Date());28expect(new Date()).toBeAfter(new Date());29expect(new Error('hello')).toBeError();30expect(new Error('hello')).toBeErrorOfType('Error');31expect(new Error('hello')).toHaveProperty('message', 'hello');

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run jest-extended automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful