Best JavaScript code snippet using fast-check-monorepo
classify.data.js
Source:classify.data.js
1export default[2 {3 "name": "女è£
",4 "foods": [5 {6 "name": "Aåè£",7 "key": "Aåè£",8 "icon": "https://cdn.uviewui.com/uview/common/classify/1/1.jpg",9 "cat": 1010 },11 {12 "name": "Tæ¤",13 "key": "Tæ¤",14 "icon": "https://cdn.uviewui.com/uview/common/classify/1/2.jpg",15 "cat": 1016 },17 {18 "name": "å身è£",19 "key": "å身è£",20 "icon": "https://cdn.uviewui.com/uview/common/classify/1/3.jpg",21 "cat": 1022 },23 {24 "name": "衬衫",25 "key": "衬衫",26 "icon": "https://cdn.uviewui.com/uview/common/classify/1/4.jpg",27 "cat": 1028 },29 {30 "name": "çè£",31 "key": "çè£",32 "icon": "https://cdn.uviewui.com/uview/common/classify/1/5.jpg",33 "cat": 1034 },35 {36 "name": "éè
¿è£¤",37 "key": "éè
¿è£¤",38 "icon": "https://cdn.uviewui.com/uview/common/classify/1/6.jpg",39 "cat": 1040 },41 {42 "name": "è¿è¡£è£",43 "key": "è¿è¡£è£",44 "icon": "https://cdn.uviewui.com/uview/common/classify/1/7.jpg",45 "cat": 1046 },47 {48 "name": "å¦å¦è£
",49 "key": "å¦å¦è£
",50 "icon": "https://cdn.uviewui.com/uview/common/classify/1/8.jpg",51 "cat": 1052 },53 {54 "name": "çä»è£¤",55 "key": "çä»è£¤",56 "icon": "https://cdn.uviewui.com/uview/common/classify/1/9.jpg",57 "cat": 1058 },59 {60 "name": "æ
ä¾£è£
",61 "key": "æ
ä¾£è£
",62 "icon": "https://cdn.uviewui.com/uview/common/classify/1/10.jpg",63 "cat": 1064 },65 {66 "name": "ä¼é²è£¤",67 "key": "ä¼é²è£¤",68 "icon": "https://cdn.uviewui.com/uview/common/classify/1/11.jpg",69 "cat": 1070 },71 {72 "name": "éªçººè¡«",73 "key": "éªçººè¡«",74 "icon": "https://cdn.uviewui.com/uview/common/classify/1/12.jpg",75 "cat": 1076 },77 {78 "name": "é²æè¡£",79 "key": "é²æè¡£",80 "icon": "https://cdn.uviewui.com/uview/common/classify/1/13.jpg",81 "cat": 1082 },83 {84 "name": "礼æ/å©çº±",85 "key": "礼æå©çº±",86 "icon": "https://cdn.uviewui.com/uview/common/classify/1/14.jpg",87 "cat": 1088 }89 ]90 },91 {92 "name": "ç¾é£",93 "foods": [94 {95 "name": "ç«é
",96 "key": "ç«é
",97 "icon": "https://cdn.uviewui.com/uview/common/classify/2/1.jpg",98 "cat": 699 },100 {101 "name": "ç³ç¹é¥¼å¹²",102 "key": "ç³ç¹é¥¼å¹²",103 "icon": "https://cdn.uviewui.com/uview/common/classify/2/2.jpg",104 "cat": 6105 },106 {107 "name": "åææå¹²",108 "key": "åææå¹²",109 "icon": "https://cdn.uviewui.com/uview/common/classify/2/3.jpg",110 "cat": 6111 },112 {113 "name": "é
ç±»",114 "key": "é
ç±»",115 "icon": "https://cdn.uviewui.com/uview/common/classify/2/4.jpg",116 "cat": 6117 },118 {119 "name": "è¾£æ¡",120 "key": "è¾£æ¡",121 "icon": "https://cdn.uviewui.com/uview/common/classify/2/5.jpg",122 "cat": 6123 },124 {125 "name": "大礼å
",126 "key": "大礼å
",127 "icon": "https://cdn.uviewui.com/uview/common/classify/2/6.jpg",128 "cat": 6129 },130 {131 "name": "ç²¾åèè¶",132 "key": "è¶",133 "icon": "https://cdn.uviewui.com/uview/common/classify/2/7.jpg",134 "cat": 6135 },136 {137 "name": "ä¼é²é£å",138 "key": "ä¼é²é£å",139 "icon": "https://cdn.uviewui.com/uview/common/classify/2/8.jpg",140 "cat": 6141 },142 {143 "name": "ç³æå·§å
å",144 "key": "ç³æå·§å
å",145 "icon": "https://cdn.uviewui.com/uview/common/classify/2/9.jpg",146 "cat": 6147 },148 {149 "name": "æ¹ä¾¿éé£",150 "key": "æ¹ä¾¿éé£",151 "icon": "https://cdn.uviewui.com/uview/common/classify/2/10.jpg",152 "cat": 6153 },154 {155 "name": "è¥å
»ä»£é¤",156 "key": "è¥å
»ä»£é¤",157 "icon": "https://cdn.uviewui.com/uview/common/classify/2/11.jpg",158 "cat": 6159 },160 {161 "name": "粮油å¯é£",162 "key": "粮油",163 "icon": "https://cdn.uviewui.com/uview/common/classify/2/12.jpg",164 "cat": 6165 },166 {167 "name": "çé²æ°´æ",168 "key": "æ°´æ",169 "icon": "https://cdn.uviewui.com/uview/common/classify/2/13.jpg",170 "cat": 6171 },172 {173 "name": "饮å",174 "key": "饮å",175 "icon": "https://cdn.uviewui.com/uview/common/classify/2/14.jpg",176 "cat": 6177 }178 ]179 },180 {181 "name": "ç¾å¦",182 "foods": [183 {184 "name": "åå¦å·",185 "key": "åå¦å·",186 "icon": "https://cdn.uviewui.com/uview/common/classify/3/1.jpg",187 "cat": 3188 },189 {190 "name": "ç²åº",191 "key": "ç²åº",192 "icon": "https://cdn.uviewui.com/uview/common/classify/3/2.jpg",193 "cat": 3194 },195 {196 "name": "æ´åæ¤å",197 "key": "æ´åæ¤å",198 "icon": "https://cdn.uviewui.com/uview/common/classify/3/3.jpg",199 "cat": 3200 },201 {202 "name": "ç¾å®¹å·¥å
·",203 "key": "ç¾å®¹å·¥å
·",204 "icon": "https://cdn.uviewui.com/uview/common/classify/3/4.jpg",205 "cat": 3206 },207 {208 "name": "ç¼é¨æ¤ç",209 "key": "ç¼é¨æ¤ç",210 "icon": "https://cdn.uviewui.com/uview/common/classify/3/5.jpg",211 "cat": 3212 },213 {214 "name": "çå¦",215 "key": "çå¦",216 "icon": "https://cdn.uviewui.com/uview/common/classify/3/6.jpg",217 "cat": 3218 },219 {220 "name": "å¸å¦å",221 "key": "å¸å¦å",222 "icon": "https://cdn.uviewui.com/uview/common/classify/3/7.jpg",223 "cat": 3224 },225 {226 "name": "åºç¡æ¤è¤",227 "key": "åºç¡æ¤è¤",228 "icon": "https://cdn.uviewui.com/uview/common/classify/3/8.jpg",229 "cat": 3230 },231 {232 "name": "ç¼å¦",233 "key": "ç¼å¦",234 "icon": "https://cdn.uviewui.com/uview/common/classify/3/9.jpg",235 "cat": 3236 },237 {238 "name": "åå¦",239 "key": "åå¦",240 "icon": "https://cdn.uviewui.com/uview/common/classify/3/10.jpg",241 "cat": 3242 },243 {244 "name": "é¢è",245 "key": "é¢è",246 "icon": "https://cdn.uviewui.com/uview/common/classify/3/11.jpg",247 "cat": 3248 },249 {250 "name": "æ²æµ´ç¨å",251 "key": "æ²æµ´ç¨å",252 "icon": "https://cdn.uviewui.com/uview/common/classify/3/12.jpg",253 "cat": 3254 },255 {256 "name": "æ¤è¤å¥è£
",257 "key": "æ¤è¤å¥è£
",258 "icon": "https://cdn.uviewui.com/uview/common/classify/3/13.jpg",259 "cat": 3260 },261 {262 "name": "é²æå",263 "key": "é²æå",264 "icon": "https://cdn.uviewui.com/uview/common/classify/3/14.jpg",265 "cat": 3266 },267 {268 "name": "ç¾ç²",269 "key": "ç¾ç²",270 "icon": "https://cdn.uviewui.com/uview/common/classify/3/15.jpg",271 "cat": 3272 }273 ]274 },275 {276 "name": "å±
家æ¥ç¨",277 "foods": [278 {279 "name": "åå¾è¢",280 "key": "åå¾è¢",281 "icon": "https://cdn.uviewui.com/uview/common/classify/4/1.jpg",282 "cat": 4283 },284 {285 "name": "纸巾",286 "key": "纸巾",287 "icon": "https://cdn.uviewui.com/uview/common/classify/4/2.jpg",288 "cat": 4289 },290 {291 "name": "驱èç¨å",292 "key": "驱èç¨å",293 "icon": "https://cdn.uviewui.com/uview/common/classify/4/3.jpg",294 "cat": 4295 },296 {297 "name": "æ¶çº³ç¥å¨",298 "key": "æ¶çº³ç¥å¨",299 "icon": "https://cdn.uviewui.com/uview/common/classify/4/4.jpg",300 "cat": 4301 },302 {303 "name": "å¨æ¿ç¨å",304 "key": "å¨æ¿ç¨å",305 "icon": "https://cdn.uviewui.com/uview/common/classify/4/5.jpg",306 "cat": 4307 },308 {309 "name": "å¨æ¿ç¹é¥ª",310 "key": "ç¹é¥ª",311 "icon": "https://cdn.uviewui.com/uview/common/classify/4/6.jpg",312 "cat": 4313 },314 {315 "name": "è¡£ç©æ¾æ",316 "key": "è¡£ç©æ¾æ",317 "icon": "https://cdn.uviewui.com/uview/common/classify/4/7.jpg",318 "cat": 4319 },320 {321 "name": "è¡£ç©æ¤ç",322 "key": "è¡£ç©æ¤ç",323 "icon": "https://cdn.uviewui.com/uview/common/classify/4/8.jpg",324 "cat": 4325 },326 {327 "name": "å® ç©ç¨å",328 "key": "å® ç©ç¨å",329 "icon": "https://cdn.uviewui.com/uview/common/classify/4/9.jpg",330 "cat": 4331 },332 {333 "name": "å»è¯ä¿å¥",334 "key": "å»è¯",335 "icon": "https://cdn.uviewui.com/uview/common/classify/4/10.jpg",336 "cat": 4337 },338 {339 "name": "æ¥ç¨ç¾è´§",340 "key": "ç¾è´§",341 "icon": "https://cdn.uviewui.com/uview/common/classify/4/11.jpg",342 "cat": 4343 },344 {345 "name": "æ¸
æ´ç¨å",346 "key": "æ¸
æ´",347 "icon": "https://cdn.uviewui.com/uview/common/classify/4/12.jpg",348 "cat": 4349 },350 {351 "name": "绿æ¤åèº",352 "key": "绿æ¤",353 "icon": "https://cdn.uviewui.com/uview/common/classify/4/13.jpg",354 "cat": 4355 }356 ]357 },358 {359 "name": "ç·è£
",360 "foods": [361 {362 "name": "ç¸ç¸è£
",363 "key": "ç¸ç¸è£
",364 "icon": "https://cdn.uviewui.com/uview/common/classify/5/1.jpg",365 "cat": 12366 },367 {368 "name": "çä»è£¤",369 "key": "çä»è£¤",370 "icon": "https://cdn.uviewui.com/uview/common/classify/5/2.jpg",371 "cat": 12372 },373 {374 "name": "衬衫",375 "key": "衬衫",376 "icon": "https://cdn.uviewui.com/uview/common/classify/5/3.jpg",377 "cat": 12378 },379 {380 "name": "ä¼é²è£¤",381 "key": "ä¼é²è£¤",382 "icon": "https://cdn.uviewui.com/uview/common/classify/5/4.jpg",383 "cat": 12384 },385 {386 "name": "å¤å¥",387 "key": "å¤å¥",388 "icon": "https://cdn.uviewui.com/uview/common/classify/5/5.jpg",389 "cat": 12390 },391 {392 "name": "Tæ¤",393 "key": "Tæ¤",394 "icon": "https://cdn.uviewui.com/uview/common/classify/5/6.jpg",395 "cat": 12396 },397 {398 "name": "å¥è£
",399 "key": "å¥è£
",400 "icon": "https://cdn.uviewui.com/uview/common/classify/5/7.jpg",401 "cat": 12402 },403 {404 "name": "è¿å¨è£¤",405 "key": "è¿å¨è£¤",406 "icon": "https://cdn.uviewui.com/uview/common/classify/5/8.jpg",407 "cat": 12408 },409 {410 "name": "马ç²/èå¿",411 "key": "马ç²èå¿",412 "icon": "https://cdn.uviewui.com/uview/common/classify/5/9.jpg",413 "cat": 12414 },415 {416 "name": "POLOè¡«",417 "key": "POLOè¡«",418 "icon": "https://cdn.uviewui.com/uview/common/classify/5/10.jpg",419 "cat": 12420 },421 {422 "name": "åå¡è£
",423 "key": "åå¡è£
",424 "icon": "https://cdn.uviewui.com/uview/common/classify/5/11.jpg",425 "cat": 12426 }427 ]428 },429 {430 "name": "éå",431 "foods": [432 {433 "name": "åé",434 "key": "åé",435 "icon": "https://cdn.uviewui.com/uview/common/classify/6/1.jpg",436 "cat": 5437 },438 {439 "name": "ç®é",440 "key": "ç®é",441 "icon": "https://cdn.uviewui.com/uview/common/classify/6/2.jpg",442 "cat": 5443 },444 {445 "name": "å¸å¸é",446 "key": "å¸å¸é",447 "icon": "https://cdn.uviewui.com/uview/common/classify/6/3.jpg",448 "cat": 5449 },450 {451 "name": "å京èå¸é",452 "key": "å京èå¸é",453 "icon": "https://cdn.uviewui.com/uview/common/classify/6/4.jpg",454 "cat": 5455 },456 {457 "name": "è¿å¨é",458 "key": "è¿å¨é",459 "icon": "https://cdn.uviewui.com/uview/common/classify/6/5.jpg",460 "cat": 5461 },462 {463 "name": "æé",464 "key": "æé",465 "icon": "https://cdn.uviewui.com/uview/common/classify/6/6.jpg",466 "cat": 5467 },468 {469 "name": "åé",470 "key": "åé",471 "icon": "https://cdn.uviewui.com/uview/common/classify/6/7.jpg",472 "cat": 5473 },474 {475 "name": "ä¼é²é",476 "key": "ä¼é²é",477 "icon": "https://cdn.uviewui.com/uview/common/classify/6/8.jpg",478 "cat": 5479 },480 {481 "name": "é«è·é",482 "key": "é«è·é",483 "icon": "https://cdn.uviewui.com/uview/common/classify/6/9.jpg",484 "cat": 5485 },486 {487 "name": "è人é",488 "key": "è人é",489 "icon": "https://cdn.uviewui.com/uview/common/classify/6/10.jpg",490 "cat": 5491 },492 {493 "name": "æ人é",494 "key": "æ人é",495 "icon": "https://cdn.uviewui.com/uview/common/classify/6/11.jpg",496 "cat": 5497 }498 ]499 },500 {501 "name": "æ°ç 家çµ",502 "foods": [503 {504 "name": "æ°æ®çº¿",505 "key": "æ°æ®çº¿",506 "icon": "https://cdn.uviewui.com/uview/common/classify/7/1.jpg",507 "cat": 8508 },509 {510 "name": "è³æº",511 "key": "è³æº",512 "icon": "https://cdn.uviewui.com/uview/common/classify/7/2.jpg",513 "cat": 8514 },515 {516 "name": "ç活家çµ",517 "key": "家çµ",518 "icon": "https://cdn.uviewui.com/uview/common/classify/7/3.jpg",519 "cat": 8520 },521 {522 "name": "çµé£æ",523 "key": "çµé£æ",524 "icon": "https://cdn.uviewui.com/uview/common/classify/7/4.jpg",525 "cat": 8526 },527 {528 "name": "çµå¹é£",529 "key": "çµå¹é£",530 "icon": "https://cdn.uviewui.com/uview/common/classify/7/5.jpg",531 "cat": 8532 },533 {534 "name": "ææºå£³",535 "key": "ææºå£³",536 "icon": "https://cdn.uviewui.com/uview/common/classify/7/6.jpg",537 "cat": 8538 },539 {540 "name": "榨æ±æº",541 "key": "榨æ±æº",542 "icon": "https://cdn.uviewui.com/uview/common/classify/7/7.jpg",543 "cat": 8544 },545 {546 "name": "å°å®¶çµ",547 "key": "å°å®¶çµ",548 "icon": "https://cdn.uviewui.com/uview/common/classify/7/8.jpg",549 "cat": 8550 },551 {552 "name": "æ°ç çµå",553 "key": "æ°ç ",554 "icon": "https://cdn.uviewui.com/uview/common/classify/7/9.jpg",555 "cat": 8556 },557 {558 "name": "çµé¥é
",559 "key": "çµé¥é
",560 "icon": "https://cdn.uviewui.com/uview/common/classify/7/10.jpg",561 "cat": 8562 },563 {564 "name": "ææºæ¯æ¶",565 "key": "ææºæ¯æ¶",566 "icon": "https://cdn.uviewui.com/uview/common/classify/7/11.jpg",567 "cat": 8568 },569 {570 "name": "åé¡»å",571 "key": "åé¡»å",572 "icon": "https://cdn.uviewui.com/uview/common/classify/7/12.jpg",573 "cat": 8574 },575 {576 "name": "å
çµå®",577 "key": "å
çµå®",578 "icon": "https://cdn.uviewui.com/uview/common/classify/7/13.jpg",579 "cat": 8580 },581 {582 "name": "ææºé
件",583 "key": "ææºé
件",584 "icon": "https://cdn.uviewui.com/uview/common/classify/7/14.jpg",585 "cat": 8586 }587 ]588 },589 {590 "name": "æ¯å©´",591 "foods": [592 {593 "name": "å©´ç«¥æ饰",594 "key": "è¡£æ",595 "icon": "https://cdn.uviewui.com/uview/common/classify/8/1.jpg",596 "cat": 2 597 },598 {599 "name": "ç©å
·ä¹å¨",600 "key": "ç©å
·ä¹å¨",601 "icon": "https://cdn.uviewui.com/uview/common/classify/8/2.jpg",602 "cat": 2 603 },604 {605 "name": "å°¿ä¸æ¹¿",606 "key": "å°¿ä¸æ¹¿",607 "icon": "https://cdn.uviewui.com/uview/common/classify/8/3.jpg",608 "cat": 2 609 },610 {611 "name": "å®æçè¶",612 "key": "å®æçè¶",613 "icon": "https://cdn.uviewui.com/uview/common/classify/8/4.jpg",614 "cat": 2 615 },616 {617 "name": "奶ç¶å¥¶å´",618 "key": "奶ç¶å¥¶å´",619 "icon": "https://cdn.uviewui.com/uview/common/classify/8/5.jpg",620 "cat": 2 621 },622 {623 "name": "åå¦ç¨å",624 "key": "åå¦ç¨å",625 "icon": "https://cdn.uviewui.com/uview/common/classify/8/6.jpg",626 "cat": 2 627 },628 {629 "name": "å®å®ç¨å",630 "key": "å®å®ç¨å",631 "icon": "https://cdn.uviewui.com/uview/common/classify/8/7.jpg",632 "cat": 2 633 },634 {635 "name": "婴童湿巾",636 "key": "湿巾",637 "icon": "https://cdn.uviewui.com/uview/common/classify/8/8.jpg",638 "cat": 2 639 },640 {641 "name": "åå
»æ´æ¤",642 "key": "æ´æ¤",643 "icon": "https://cdn.uviewui.com/uview/common/classify/8/9.jpg",644 "cat": 2 645 },646 {647 "name": "å©´ç«¥éé´",648 "key": "ç«¥é",649 "icon": "https://cdn.uviewui.com/uview/common/classify/8/10.jpg",650 "cat": 2 651 },652 {653 "name": "å£æ°´å·¾",654 "key": "å£æ°´å·¾",655 "icon": "https://cdn.uviewui.com/uview/common/classify/8/11.jpg",656 "cat": 2 657 },658 {659 "name": "è¥å
»è¾
é£",660 "key": "è¥å
»",661 "icon": "https://cdn.uviewui.com/uview/common/classify/8/12.jpg",662 "cat": 2 663 },664 {665 "name": "婴幼书ç±",666 "key": "书ç±",667 "icon": "https://cdn.uviewui.com/uview/common/classify/8/13.jpg",668 "cat": 2 669 },670 {671 "name": "å©´å¿è½¦",672 "key": "å©´å¿è½¦",673 "icon": "https://cdn.uviewui.com/uview/common/classify/8/14.jpg",674 "cat": 2 675 }676 ]677 },678 {679 "name": "ç®±å
",680 "foods": [681 {682 "name": "åè©å
",683 "key": "åè©å
",684 "icon": "https://cdn.uviewui.com/uview/common/classify/9/1.jpg",685 "cat": 0686 },687 {688 "name": "ææå
",689 "key": "ææå
",690 "icon": "https://cdn.uviewui.com/uview/common/classify/9/2.jpg",691 "cat": 0692 },693 {694 "name": "女å
",695 "key": "女å
",696 "icon": "https://cdn.uviewui.com/uview/common/classify/9/3.jpg",697 "cat": 0698 },699 {700 "name": "ç·å
",701 "key": "ç·å
",702 "icon": "https://cdn.uviewui.com/uview/common/classify/9/4.jpg",703 "cat": 0704 },705 {706 "name": "åè©å
",707 "key": "åè©å
",708 "icon": "https://cdn.uviewui.com/uview/common/classify/9/5.jpg",709 "cat": 0710 },711 {712 "name": "å°æ¹å
",713 "key": "å°æ¹å
",714 "icon": "https://cdn.uviewui.com/uview/common/classify/9/6.jpg",715 "cat": 0716 },717 {718 "name": "é±å
",719 "key": "é±å
",720 "icon": "https://cdn.uviewui.com/uview/common/classify/9/7.jpg",721 "cat": 0722 },723 {724 "name": "æ
è¡ç®±å
",725 "key": "æ
è¡ç®±å
",726 "icon": "https://cdn.uviewui.com/uview/common/classify/9/8.jpg",727 "cat": 0728 },729 {730 "name": "é¶é±å
",731 "key": "é¶é±å
",732 "icon": "https://cdn.uviewui.com/uview/common/classify/9/9.jpg",733 "cat": 0734 },735 {736 "name": "ææå
",737 "key": "ææå
",738 "icon": "https://cdn.uviewui.com/uview/common/classify/9/10.jpg",739 "cat": 0740 },741 {742 "name": "è¸å
",743 "key": "è¸å
",744 "icon": "https://cdn.uviewui.com/uview/common/classify/9/11.jpg",745 "cat": 0746 }747 ]748 },749 {750 "name": "å
è¡£",751 "foods": [752 {753 "name": "è¢å",754 "key": "è¢å",755 "icon": "https://cdn.uviewui.com/uview/common/classify/10/1.jpg",756 "cat": 11757 },758 {759 "name": "å带èå¿",760 "key": "å带èå¿",761 "icon": "https://cdn.uviewui.com/uview/common/classify/10/2.jpg",762 "cat": 11763 },764 {765 "name": "æ¹è¸",766 "key": "æ¹è¸",767 "icon": "https://cdn.uviewui.com/uview/common/classify/10/3.jpg",768 "cat": 11769 },770 {771 "name": "å
裤",772 "key": "å
裤",773 "icon": "https://cdn.uviewui.com/uview/common/classify/10/4.jpg",774 "cat": 11775 },776 {777 "name": "æè¸",778 "key": "æè¸",779 "icon": "https://cdn.uviewui.com/uview/common/classify/10/5.jpg",780 "cat": 11781 },782 {783 "name": "æè¸å¥è£
",784 "key": "æè¸å¥è£
",785 "icon": "https://cdn.uviewui.com/uview/common/classify/10/6.jpg",786 "cat": 11787 },788 {789 "name": "æåºå¡èº«",790 "key": "æåºå¡èº«",791 "icon": "https://cdn.uviewui.com/uview/common/classify/10/7.jpg",792 "cat": 11793 },794 {795 "name": "家å±
æ",796 "key": "家å±
æ",797 "icon": "https://cdn.uviewui.com/uview/common/classify/10/8.jpg",798 "cat": 11799 },800 {801 "name": "è¹è¢",802 "key": "è¹è¢",803 "icon": "https://cdn.uviewui.com/uview/common/classify/10/9.jpg",804 "cat": 11805 },806 {807 "name": "æ
ä¾£ç¡è¡£",808 "key": "æ
ä¾£ç¡è¡£",809 "icon": "https://cdn.uviewui.com/uview/common/classify/10/10.jpg",810 "cat": 11811 },812 {813 "name": "ä¸è¢",814 "key": "ä¸è¢",815 "icon": "https://cdn.uviewui.com/uview/common/classify/10/11.jpg",816 "cat": 11817 }818 ]819 },820 {821 "name": "æ娱车å",822 "foods": [823 {824 "name": "车å¸è½¦å",825 "key": "车å¸è½¦å",826 "icon": "https://cdn.uviewui.com/uview/common/classify/11/1.jpg",827 "cat": 7828 },829 {830 "name": "åå
¬æå
·",831 "key": "åå
¬æå
·",832 "icon": "https://cdn.uviewui.com/uview/common/classify/11/2.jpg",833 "cat": 7834 },835 {836 "name": "èè¯å¿
å¤",837 "key": "èè¯å¿
å¤",838 "icon": "https://cdn.uviewui.com/uview/common/classify/11/3.jpg",839 "cat": 7840 },841 {842 "name": "ç¬è®°æ¬",843 "key": "ç¬è®°æ¬",844 "icon": "https://cdn.uviewui.com/uview/common/classify/11/4.jpg",845 "cat": 7846 },847 {848 "name": "èºæ¯ç¤¼å",849 "key": "礼å",850 "icon": "https://cdn.uviewui.com/uview/common/classify/11/5.jpg",851 "cat": 7852 },853 {854 "name": "书åå·¥å
·",855 "key": "书åå·¥å
·",856 "icon": "https://cdn.uviewui.com/uview/common/classify/11/6.jpg",857 "cat": 7858 },859 {860 "name": "车载çµå¨",861 "key": "车载çµå¨",862 "icon": "https://cdn.uviewui.com/uview/common/classify/11/7.jpg",863 "cat": 7864 },865 {866 "name": "å¾ä¹¦é³å",867 "key": "å¾ä¹¦é³å",868 "icon": "https://cdn.uviewui.com/uview/common/classify/11/8.jpg",869 "cat": 7870 },871 {872 "name": "ç»å
·ç»æ",873 "key": "ç»å
·ç»æ",874 "icon": "https://cdn.uviewui.com/uview/common/classify/11/9.jpg",875 "cat": 7876 }877 ]878 },879 {880 "name": "é
饰",881 "foods": [882 {883 "name": "太é³é",884 "key": "太é³é",885 "icon": "https://cdn.uviewui.com/uview/common/classify/12/1.jpg",886 "cat": 0887 },888 {889 "name": "ç®å¸¦",890 "key": "ç®å¸¦",891 "icon": "https://cdn.uviewui.com/uview/common/classify/12/2.jpg",892 "cat": 0893 },894 {895 "name": "æ£ç帽",896 "key": "æ£ç帽",897 "icon": "https://cdn.uviewui.com/uview/common/classify/12/3.jpg",898 "cat": 0899 },900 {901 "name": "æ表",902 "key": "æ表",903 "icon": "https://cdn.uviewui.com/uview/common/classify/12/4.jpg",904 "cat": 0905 },906 {907 "name": "å饰",908 "key": "å饰",909 "icon": "https://cdn.uviewui.com/uview/common/classify/12/5.jpg",910 "cat": 0911 },912 {913 "name": "项é¾",914 "key": "项é¾",915 "icon": "https://cdn.uviewui.com/uview/common/classify/12/6.jpg",916 "cat": 0917 },918 {919 "name": "æ饰",920 "key": "æ饰",921 "icon": "https://cdn.uviewui.com/uview/common/classify/12/7.jpg",922 "cat": 0923 },924 {925 "name": "è³ç¯",926 "key": "è³ç¯",927 "icon": "https://cdn.uviewui.com/uview/common/classify/12/8.jpg",928 "cat": 0929 },930 {931 "name": "帽åä¸å·¾",932 "key": "帽åä¸å·¾",933 "icon": "https://cdn.uviewui.com/uview/common/classify/12/9.jpg",934 "cat": 0935 },936 {937 "name": "ç¼é墨é",938 "key": "ç¼é墨é",939 "icon": "https://cdn.uviewui.com/uview/common/classify/12/10.jpg",940 "cat": 0941 },942 {943 "name": "å带åç®",944 "key": "å带åç®",945 "icon": "https://cdn.uviewui.com/uview/common/classify/12/11.jpg",946 "cat": 0947 }948 ]949 },950 {951 "name": "家è£
家纺",952 "foods": [953 {954 "name": "家å±
饰å",955 "key": "家å±
饰å",956 "icon": "https://cdn.uviewui.com/uview/common/classify/13/1.jpg",957 "cat": 0958 },959 {960 "name": "åå¸",961 "key": "åå¸",962 "icon": "https://cdn.uviewui.com/uview/common/classify/13/2.jpg",963 "cat": 0964 },965 {966 "name": "èæé æ",967 "key": "é æ",968 "icon": "https://cdn.uviewui.com/uview/common/classify/13/3.jpg",969 "cat": 0970 },971 {972 "name": "åºä¸ç¨å",973 "key": "åºä¸ç¨å",974 "icon": "https://cdn.uviewui.com/uview/common/classify/13/4.jpg",975 "cat": 0976 },977 {978 "name": "æ件",979 "key": "æ件",980 "icon": "https://cdn.uviewui.com/uview/common/classify/13/5.jpg",981 "cat": 0982 },983 {984 "name": "å件å¥",985 "key": "å件å¥",986 "icon": "https://cdn.uviewui.com/uview/common/classify/13/6.jpg",987 "cat": 0988 },989 {990 "name": "è£
饰å",991 "key": "è£
饰å",992 "icon": "https://cdn.uviewui.com/uview/common/classify/13/7.jpg",993 "cat": 0994 },995 {996 "name": "å«æµ´ç¨å",997 "key": "å«æµ´",998 "icon": "https://cdn.uviewui.com/uview/common/classify/13/8.jpg",999 "cat": 01000 },1001 {1002 "name": "家å±
家è£
",1003 "key": "家å
·",1004 "icon": "https://cdn.uviewui.com/uview/common/classify/13/9.jpg",1005 "cat": 01006 },1007 {1008 "name": "èå¸",1009 "key": "èå¸",1010 "icon": "https://cdn.uviewui.com/uview/common/classify/13/10.jpg",1011 "cat": 01012 },1013 {1014 "name": "å¢çº¸è´´çº¸",1015 "key": "å¢çº¸",1016 "icon": "https://cdn.uviewui.com/uview/common/classify/13/11.jpg",1017 "cat": 01018 },1019 {1020 "name": "空è°è¢«",1021 "key": "空è°è¢«",1022 "icon": "https://cdn.uviewui.com/uview/common/classify/13/12.jpg",1023 "cat": 01024 }1025 ]1026 },1027 {1028 "name": "æ·å¤è¿å¨",1029 "foods": [1030 {1031 "name": "游泳è£
å¤",1032 "key": "游泳",1033 "icon": "https://cdn.uviewui.com/uview/common/classify/14/1.jpg",1034 "cat": 01035 },1036 {1037 "name": "æ³³é",1038 "key": "æ³³é",1039 "icon": "https://cdn.uviewui.com/uview/common/classify/14/2.jpg",1040 "cat": 01041 },1042 {1043 "name": "æ·å¤è£
å¤",1044 "key": "æ·å¤",1045 "icon": "https://cdn.uviewui.com/uview/common/classify/14/3.jpg",1046 "cat": 01047 },1048 {1049 "name": "å¥èº«æ饰",1050 "key": "å¥èº«",1051 "icon": "https://cdn.uviewui.com/uview/common/classify/14/4.jpg",1052 "cat": 01053 },1054 {1055 "name": "泳衣",1056 "key": "泳衣",1057 "icon": "https://cdn.uviewui.com/uview/common/classify/14/5.jpg",1058 "cat": 01059 },1060 {1061 "name": "çä¼½å«",1062 "key": "çä¼½å«",1063 "icon": "https://cdn.uviewui.com/uview/common/classify/14/6.jpg",1064 "cat": 01065 },1066 {1067 "name": "çä¼½ç¨å",1068 "key": "çä¼½",1069 "icon": "https://cdn.uviewui.com/uview/common/classify/14/7.jpg",1070 "cat": 01071 },1072 {1073 "name": "å¥èº«è£
å¤",1074 "key": "å¥èº«",1075 "icon": "https://cdn.uviewui.com/uview/common/classify/14/8.jpg",1076 "cat": 01077 },1078 {1079 "name": "çè¿·ç¨å",1080 "key": "çè¿·",1081 "icon": "https://cdn.uviewui.com/uview/common/classify/14/9.jpg",1082 "cat": 01083 }1084 ]1085 }...
keywords-and-reserved_words.js
Source:keywords-and-reserved_words.js
1description(2"This test verifies that keywords and reserved words match those specified in ES5 section 7.6."3);4function isKeyword(x)5{6 try {7 eval("var "+x+";");8 } catch(e) {9 return true;10 }11 12 return false;13}14function isStrictKeyword(x)15{16 try {17 eval("'use strict'; var "+x+";");18 } catch(e) {19 return true;20 }21 22 return false;23}24function classifyIdentifier(x)25{26 if (isKeyword(x)) {27 // All non-strict keywords are also keywords in strict code.28 if (!isStrictKeyword(x))29 return "ERROR";30 return "keyword";31 }32 // Check for strict mode future reserved words.33 if (isStrictKeyword(x))34 return "strict";35 return "identifier";36}37// Not keywords - these are all just identifiers.38shouldBe('classifyIdentifier("x")', '"identifier"');39shouldBe('classifyIdentifier("id")', '"identifier"');40shouldBe('classifyIdentifier("identifier")', '"identifier"');41shouldBe('classifyIdentifier("keyword")', '"identifier"');42shouldBe('classifyIdentifier("strict")', '"identifier"');43shouldBe('classifyIdentifier("use")', '"identifier"');44// These are identifiers that we used to treat as keywords!45shouldBe('classifyIdentifier("abstract")', '"identifier"');46shouldBe('classifyIdentifier("boolean")', '"identifier"');47shouldBe('classifyIdentifier("byte")', '"identifier"');48shouldBe('classifyIdentifier("char")', '"identifier"');49shouldBe('classifyIdentifier("double")', '"identifier"');50shouldBe('classifyIdentifier("final")', '"identifier"');51shouldBe('classifyIdentifier("float")', '"identifier"');52shouldBe('classifyIdentifier("goto")', '"identifier"');53shouldBe('classifyIdentifier("int")', '"identifier"');54shouldBe('classifyIdentifier("long")', '"identifier"');55shouldBe('classifyIdentifier("native")', '"identifier"');56shouldBe('classifyIdentifier("short")', '"identifier"');57shouldBe('classifyIdentifier("synchronized")', '"identifier"');58shouldBe('classifyIdentifier("throws")', '"identifier"');59shouldBe('classifyIdentifier("transient")', '"identifier"');60shouldBe('classifyIdentifier("volatile")', '"identifier"');61// Keywords.62shouldBe('classifyIdentifier("break")', '"keyword"');63shouldBe('classifyIdentifier("case")', '"keyword"');64shouldBe('classifyIdentifier("catch")', '"keyword"');65shouldBe('classifyIdentifier("continue")', '"keyword"');66shouldBe('classifyIdentifier("debugger")', '"keyword"');67shouldBe('classifyIdentifier("default")', '"keyword"');68shouldBe('classifyIdentifier("delete")', '"keyword"');69shouldBe('classifyIdentifier("do")', '"keyword"');70shouldBe('classifyIdentifier("else")', '"keyword"');71shouldBe('classifyIdentifier("finally")', '"keyword"');72shouldBe('classifyIdentifier("for")', '"keyword"');73shouldBe('classifyIdentifier("function")', '"keyword"');74shouldBe('classifyIdentifier("if")', '"keyword"');75shouldBe('classifyIdentifier("in")', '"keyword"');76shouldBe('classifyIdentifier("instanceof")', '"keyword"');77shouldBe('classifyIdentifier("new")', '"keyword"');78shouldBe('classifyIdentifier("return")', '"keyword"');79shouldBe('classifyIdentifier("switch")', '"keyword"');80shouldBe('classifyIdentifier("this")', '"keyword"');81shouldBe('classifyIdentifier("throw")', '"keyword"');82shouldBe('classifyIdentifier("try")', '"keyword"');83shouldBe('classifyIdentifier("typeof")', '"keyword"');84shouldBe('classifyIdentifier("var")', '"keyword"');85shouldBe('classifyIdentifier("void")', '"keyword"');86shouldBe('classifyIdentifier("while")', '"keyword"');87shouldBe('classifyIdentifier("with")', '"keyword"');88// Technically these are "Future Reserved Words"!89shouldBe('classifyIdentifier("class")', '"keyword"');90shouldBe('classifyIdentifier("const")', '"keyword"');91shouldBe('classifyIdentifier("enum")', '"keyword"');92shouldBe('classifyIdentifier("export")', '"keyword"');93shouldBe('classifyIdentifier("extends")', '"keyword"');94shouldBe('classifyIdentifier("import")', '"keyword"');95shouldBe('classifyIdentifier("super")', '"keyword"');96// Future Reserved Words, in strict mode only.97shouldBe('classifyIdentifier("implements")', '"strict"');98shouldBe('classifyIdentifier("interface")', '"strict"');99shouldBe('classifyIdentifier("let")', '"strict"');100shouldBe('classifyIdentifier("package")', '"strict"');101shouldBe('classifyIdentifier("private")', '"strict"');102shouldBe('classifyIdentifier("protected")', '"strict"');103shouldBe('classifyIdentifier("public")', '"strict"');104shouldBe('classifyIdentifier("static")', '"strict"');...
Using AI Code Generation
1const fc = require('fast-check');2const { classify } = require('fast-check');3const { generate } = require('fast-check');4const { sample } = require('fast-check');5const { assert } = require('fast-check');6const fc = require('fast-check');7const { classify } = require('fast-check');8const { generate } = require('fast-check');9const { sample } = require('fast-check');10const { assert } = require('fast-check');11const fc = require('fast-check');12const { classify } = require('fast-check');13const { generate } = require('fast-check');14const { sample } = require('fast-check');15const { assert } = require('fast-check');16const fc = require('fast-check');17const { classify } = require('fast-check');18const { generate } = require('fast-check');19const { sample } = require('fast-check');20const { assert } = require('fast-check');21const fc = require('fast-check');22const { classify } = require('fast-check');23const { generate } = require('fast-check');24const { sample } = require('fast-check');25const { assert } = require('fast-check');26const fc = require('fast-check');27const { classify } = require('fast-check');28const { generate } = require('fast-check');29const { sample } = require('fast-check');30const { assert } = require('fast-check');31const fc = require('fast-check');32const { classify } = require('fast-check');33const { generate } = require('fast-check');34const { sample } = require('fast-check');35const { assert } = require('fast-check');36const fc = require('fast-check');37const { classify } = require('fast-check');38const { generate } = require('fast-check');39const { sample } = require('fast-check');40const { assert } = require('fast-check');41const fc = require('fast-check');42const {
Using AI Code Generation
1const { classify, property } = require('fast-check');2const fc = require('fast-check');3const { suite, test, slow, timeout, skip, only } = require('mocha-typescript');4const assert = require('assert');5suite('Classify', () => {6 test('Classify', () => {7 classify('a', 'a');8 classify('b', 'b');9 classify('c', 'c');10 classify('d', 'd');11 classify('e', 'e');12 classify('f', 'f');13 classify('g', 'g');14 classify('h', 'h');15 classify('i', 'i');16 classify('j', 'j');17 classify('k', 'k');18 classify('l', 'l');19 classify('m', 'm');20 classify('n', 'n');21 classify('o', 'o');22 classify('p', 'p');23 classify('q', 'q');24 classify('r', 'r');25 classify('s', 's');26 classify('t', 't');27 classify('u', 'u');28 classify('v', 'v');29 classify('w', 'w');30 classify('x', 'x');31 classify('y', 'y');32 classify('z', 'z');33 classify('aa', 'aa');34 classify('ab', 'ab');35 classify('ac', 'ac');36 classify('ad', 'ad');37 classify('ae', 'ae');38 classify('af', 'af');39 classify('ag', 'ag');40 classify('ah', 'ah');41 classify('ai', 'ai');42 classify('aj', 'aj');43 classify('ak', 'ak');44 classify('al', 'al');45 classify('am', 'am');46 classify('an', 'an');47 classify('ao', 'ao');48 classify('ap', 'ap');49 classify('aq', 'aq');50 classify('ar', 'ar');51 classify('as', 'as');52 classify('at', 'at');53 classify('au', 'au');54 classify('av', 'av');55 classify('aw', 'aw');56 classify('ax', 'ax');57 classify('ay', 'ay');58 classify('az', 'az');59 classify('ba', 'ba');60 classify('bb', 'bb');
Using AI Code Generation
1const { classify } = require('fast-check');2const { isEven, isOdd } = require('./isEven');3describe('isEven', () => {4 it('should return true if the number is even', () => {5 fc.assert(6 fc.property(fc.integer(), value => {7 const actual = isEven(value);8 expect(actual).toBe(value % 2 === 0);9 })10 );11 });12});13const isEven = value => value % 2 === 0;14const isOdd = value => !isEven(value);15module.exports = { isEven, isOdd };16const { classify } = require('fast-check');17const { isEven, isOdd } = require('./isEven');18describe('isEven', () => {19 it('should return true if the number is even', () => {20 fc.assert(21 fc.property(fc.integer(), value => {22 const actual = isEven(value);23 expect(actual).toBe(value % 2 === 0);24 })25 );26 });27 it('should return true if the number is even', () => {28 fc.assert(29 fc.property(fc.integer(), value => {30 const actual = isEven(value);31 expect(actual).toBe(value % 2 === 0);32 classify('even', value % 2 === 0);33 classify('odd', value % 2 !== 0);34 })35 );36 });37});
Using AI Code Generation
1const { classify } = require('fast-check-monorepo');2const { classifyNumber } = require('fast-check-monorepo');3const { classifyString } = require('fast-check-monorepo');4const { classifyBoolean } = require('fast-check-monorepo');5const { classifyConstant } = require('fast-check-monorepo');6const { classifyFunction } = require('fast-check-monorepo');7const { classifyDate } = require('fast-check-monorepo');8const { classifyObject } = require('fast-check-monorepo');9const { classifyArray } = require('fast-check-monorepo');10const { classifySet } = require('fast-check-monorepo');11const { classifyMap } = require('fast-check-monorepo');12const { classifySymbol } = require('fast-check-monorepo');13const { classifyUndefined } = require('fast-check-monorepo');14const { classifyNull } = require('fast-check-monorepo');15const { classifyNaN } = require('fast-check-monorepo');16const { classifyInfinity } = require('fast-check-monorepo');17const { classifyNegativeInfinity } = require('fast-check-monorepo');18const { classifyPositiveInfinity } = require('fast-check-monorepo');19const { classifyInteger } = require('fast-check-monorepo');20const { classifyPositiveInteger } = require('fast-check-monorepo');21const { classifyNegativeInteger } = require('fast-check-monorepo');22const { classifyFloat } = require('fast-check-monorepo');23const { classifyPositiveFloat } = require('fast-check-monorepo');24const { classifyNegativeFloat } = require('fast-check-monorepo');25const { classifySafeInteger } = require('fast-check-monorepo');26const { classifyPositiveSafeInteger } = require('fast-check-monorepo');27const { classifyNegativeSafeInteger } = require('fast-check-monorepo');28const { classifyInteger32 } = require('fast-check-monorepo');29const { classifyPositiveInteger32 } = require('fast-check-monorepo');30const { classifyNegativeInteger32 } = require('fast-check-monorepo');31const { classifyInteger53 } = require('fast-check-monorepo');32const { classifyPositiveInteger53 } = require('fast-check-monorepo');33const { classifyNegativeInteger53 } = require('fast-check-monorepo');34const { classifyInteger64 } = require('fast-check-mon
Using AI Code Generation
1const { classify } = require('fast-check')2const { isEven, isOdd } = require('./math')3const isEvenArb = classify('even', 'odd', isEven)4const isOddArb = classify('even', 'odd', isOdd)5fc.assert(6 fc.property(isEvenArb, isOddArb, (n1, n2) => {7 })8const { classify } = require('fast-check-monorepo')
Using AI Code Generation
1const fc = require('fast-check');2const classify = require('fast-check-monorepo').classify;3const { getArbitrary } = require('./arbitrary');4const { getShrinkable } = require('./shrinkable');5const arbitrary = getArbitrary();6const shrinkable = getShrinkable();7const classification = classify(arbitrary, shrinkable);8console.log(classification);9- [classify](#classify)10 - [Parameters](#parameters)11 - [Examples](#examples)12- [getArbitrary](#getarbitrary)13 - [Examples](#examples-1)14- [getShrinkable](#getshrinkable)15 - [Examples](#examples-2)16- [getShrinkableWith](#getshrinkablewith)17 - [Parameters](#parameters-1)18 - [Examples](#examples-3)19const fc = require('fast-check');20const classify = require('fast-check-monorepo').classify;21const { getArbitrary } = require('./arbitrary');22const { getShrinkable } = require('./shrinkable');23const arbitrary = getArbitrary();24const shrinkable = getShrinkable();25const classification = classify(arbitrary, shrinkable);26console.log(classification);27const { getArbitrary } = require('fast-check-monorepo');28const arbitrary = getArbitrary();
Using AI Code Generation
1const { classify } = require('fast-check');2const result = classify('a', 'a', 'b', 'b');3console.log(result);4const { classify } = require('fast-check');5const result = classify('a', 'a', 'b', 'b');6console.log(result);7const { classify } = require('fast-check');8const result = classify('a', 'a', 'b', 'b');9console.log(result);10const { classify } = require('fast-check');11const result = classify('a', 'a', 'b', 'b');12console.log(result);13const { classify } = require('fast-check');14const result = classify('a', 'a', 'b', 'b');15console.log(result);16const { classify } = require('fast-check');17const result = classify('a', 'a', 'b', 'b');18console.log(result);19const { classify } = require('fast-check');20const result = classify('a', 'a', 'b', 'b');21console.log(result);22const { classify } = require('fast-check');23const result = classify('a', 'a', 'b', 'b');24console.log(result);
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.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!