test javascript

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_code admin_label=”Code”]<script type=”text/javascript”> var values = [739,747,753,763,767,775,780,785,792,798,802,808,814,818,825,832,838,845,851,860,867,875,882,887,893,899,907,911,916,922,929,936,943,948,952,962,968,975,984,990,998,1007,1012,1018,1024,1032,1038,1042,1048,1054,1059,1064,1069,1076,1081,1086,1090,1094,1107,1112,1120,1126,1133,1138,1142,1147,1154,1163,1169,1177,1183,1188,1193,1201,1207,1211,1219,1224,1229,1233,1237,1243,1255,1261,1265,1270,1274,1282,1291,1303,1312,1318,1325,1331,1341,1346,1351,1355,1361,1365,1373,1387,1392,1405,1409,1413,1421,1426,1432,1438,1443,1448,1455,1463,1469,1476,1483,1492,1498,1504,1510,1518,1526,1532,1544,1551,1559,1564,1575,1583,1589,1600,1607,1611,1618,1623,1629,1633,1640,1653,1658,1663,1667,1673,1677,1682,1687,1694,1698,1704,1708,1713,1722,1729,1739,1744,1751,1755,1761,1767,1771,1779,1784,1788,1792,1800,1806,1814,1821,1824,1830,1834,1836,1845,1850,1855,1862,1868,1874,1882,1886,1895,1902,1909,1914,1923,1934,1940,1944,1951,1964,1968,1973,1979,1988,1994,1999,2008,2021,2027,2035,2041,2050,2061,2071,2078,2083,2089,2097,2105,2109,2116,2125,2132,2137,2143,2148,2153,2158,2163,2175,2180,2188,2194,2199,2206,2211,2217,2229,2235,2240,2246,2251,2256,2262,2275,2281,2292,2299,2307,2313,2322,2333,2337,2341,2346,2358,2363,2370,2374,2380,2386,2393,2399,2404,2407,2415,2420,2428,2434,2442,2448,2453,2458,2465,2471,2480,2488,2493,2498,2504,2510,2518,2523,2529,2535,2542,2546,2552,2558,2564,2570,2574,2578,2582,2588,2600,2606,2612,2618,2625,2632,2638,2646,2664,2672,2678,2686,2694,2699,2703,2714,2720,2724,2731,2735,2745,2752,2757,2771,2775,2780,2788,2797,2802,2811,2818,2823,2826,2832,2840,2842,2849,2854,2862,2866,2873,2882,2889,2894,2896,2904,2914,2918,2925,2930,2937,2943,2949,2957,2967,2977,2983,2988,2996,3002,3006,3014,3020,3025,3031,3038,3041,3045,3049,3055,3066,3072,3077,3080,3087,3095,3100,3105,3109,3114,3119,3127,3134,3140,3145,3151,3169,3183,3189,3193,3197,3202,3206,3212,3218,3222,3229,3233,3245,3250,3256,3262,3271,3275,3281,3289,3294,3300,3307,3313,3318,3326,3332,3337,3342,3350,3355,3360,3366,3373,3379,3381,3389,3397,3403,3409,3411,3420,3429,3434,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,3455,3456,3457,3458,3465,3471,3477,3482,3487,3494,3498,3505,3511,3516,3525,3529,3537,3545,3550,3560,3566,3575,3580,3590,3594,3600,3613,3618,3624,3632,3638,3643,3652,3658,3663,3669,3675,3680,3686,3690,3697,3704,3708,3715,3719,3725,3732,3740,3748,3758,3762,3767,3771,3778,3782,3784,3789,3794,3800,3808,3815,3820,3825,3835,3843,3850,3858,3869,3877,3883,3890,3897,3904,3909,3915,3920,3928,3933,3939,3946,3951,3958,3964,3966,3973,3978,3984,3991,3999,4008,4010,4016,4025,4034,4038,4044,4054,4060,4067,4077,4083,4090,4095,4106,4112,4119,4125,4130,4135,4142,4151,4157,4162,4171,4179,4185,4194,4202,4209,4221,4227,4234,4239,4245,4253,4255,4261,4263,4265,4275,4282,4287,4293,4295,4297,4299,4305,4312,4318,4323,4329,4334,4340,4345,4350,4356,4365,4372,4379,4386,4392,4398,4404,4411,4415,4420,4427,4433,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4466,4473,4484,4489,4494,4502,4506,4514,4518,4524,4533,4539,4546,4551,4557,4562,4568,4577,4582,4587,4592,4597,4603,4611,4618,4624,4630,4640,4646,4650,4656,4663,4671,4680,4685,4690,4701,4710,4712,4718,4724,4729,4734,4741,4751,4753,4764,4768,4774,4780,4785,4790,4796,4805,4816,4822,4829,4834,4846,4850,4858,4862,4870,4874,4879,4886,4896,4902,4907,4914,4920,4925,4932,4937,4944,4951,4957,4965,4967,4973,4982,4989,4997,5003,5009,5013,5019,5024,5032,5037,5042,5050,5057,5064,5069,5081,5085,5093,5104,5108,5114,5123,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5156,5161,5168,5175,5180,5186,5197,5204,5210,5218,5223,5231,5239,5240,5241,5242,5243,5244,5245,5246,5247,5248,5249,5250,5251,5252,5253,5254,5255,5256,5263,5269,5273,5278,5284,5289,5296,5299,5303,5312,5320,5328,5332,5338,5345,5350,5355,5359,5366,5372,5377,5384,5392,5396,5399,5405,5410,5417,5425,5429,5435,5446,5451,5453,5459,5480,5485,5505,5528,5552,5580,5613,5617,5630,5632,5641,5643,5648,5653,5663,5665,5676,5689,5697,5703,5709,5711,5720,5722,5724,5738,5743,5750,5752,5779,5788,5799,5811,5818,5823,5838,5850,5856,5865,5871,5881,5885,5891,5904,5912,5916,5926,5931,5944,5955,5960,5966,5968,5977,5979,5987,5994,5998,6010,6014,6021,6026,6030,6035,6045,6074,6079,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6114,6121,6127,6131,6140,6145,6147,6156,6165,6174,6179,6181,6186,6191,6193,6200,6211,6215,6224,6229,6237,6243,6257,6263,6268,6270,6275,6281,6291,6293,6299,6301,6303,6312,6317,6322,6330,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6362,6372,6379,6384,6405,6410,6417,6425,6435,6440,6448,6455,6464,6470,6475,6481,6489,6497,6499,6508,6516,6523,6531,6535,6541,6551,6557,6562,6567,6572,6578,6584,6592,6596,6603,6605,6613,6618,6622,6628,6635,6640,6651,6656,6741,6894,6895,6896,6897,6898,6899,6900,6901,6902,6903,6904,6905,6906,6907,6908,6909,6965,6990,7010,7028,7064,7066,7072,7080,7121,7156,7181,7186,7204,7208,7234,7241,7247,7251,7257,7264,7268,7279,7285,7294,7301,7308,7315,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7346,7353,7358,7360,7368,7373,7383,7393,7402,7407,7416,7420,7426,7439,7447,7459,7467,7472,7477,7484,7490,7497,7502,7508,7517,7527,7542,7554,7564,7568,7573,7578,7584,7590,7596,7602,7607,7612,7617,7623,7635,7640,7647,7653,7658,7663,7670,7678,7686,7691,7696,7700,7710,7715,7728,7733,7738,7743,7747,7754,7764,7768,7773,7778,7783,7786,7794,7799,7804,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7834,7839,7845,7851,7856,7863,7873,7878,7883,7888,7896,7900,7907,7913,7919,7923,7929,7936,7950,7956,7963,7968,7977,7985,7990,7996,8002,8009,8014,8024,8029,8034,8045,8052,8056,8062,8071,8077,8084,8090,8097,8101,8109,8113,8121,8126,8132,8139,8145,8153,8161,8169,8179,8188,8195,8201,8207,8213,8219,8229,8234,8238,8246,8254,8260,8266,8274,8278,8284,8290,8295,8301,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8335,8342,8347,8352,8357,8362,8369,8376,8385,8391,8395,8404,8412,8418,8423,8430,8434,8439,8444,8452,8458,8464,8471,8478,8485,8491,8501,8511,8514,8519,8525,8533,8539,8545,8559,8569,8576,8581,8586,8590,8594,8602,8611,8619,8624,8630,8636,8645,8651,8656,8662,8664,8678,8688,8693,8698,8705,8708,8715,8719,8725,8733,8737,8744,8750,8755,8762,8765,8771,8780,8786,8792,8801,8806,8819,8820,8821,8822,8823,8824,8825,8826,8827,8828,8829,8830,8831,8832,8833,8834,8835,8841,8847,8854,8858,8863,8870,8875,8880,8885,8892,8898,8903,8907,8913,8917,8926,8934,8940,8947,8951,8958,8964,8968,8974,8981,8992,8997,9004,9011,9014,9022,9028,9035,9041,9047,9053,9065,9070,9076,9083,9087,9091,9101,9106,9110,9117,9127,9132,9136,9146,9149,9153,9161,9170,9176,9181,9186,9194,9201,9205,9210,9215,9220,9227,9239,9249,9254,9263,9272,9281,9284,9290,9294,9304,9310,9322,9323,9324,9325,9326,9327,9328,9329,9330,9331,9332,9333,9334,9335,9336,9337,9338,9342,9347,9355,9361,9369,9378,9390,9399,9403,9406,9415,9416,9417,9418,9419,9420,9421,9422,9423,9424,9425,9426,9427,9428,9429,9430,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9450,9451,9452,9459,9460,9461,9462,9463,9464,9465,9466,9467,9468,9469,9470,9471,9472,9473,9474,9481,9482,9483,9484,9485,9486,9487,9488,9489,9490,9491,9492,9493,9494,9495,9496,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9525,9526,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9547,9548,9549,9550,9551,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9668,9683,9690,9696,9701,9707,9713,9719,9731,9747,9753,9759,9763,9772,9804,9808,9816,9820,9826,9830,9841,9847,9852,9871,9872,9873,9876,9888,9896,9904,9910,9919,9926,9931,9936,9946,9952,9958,9963,9982,10003,10008,10017,10022,10026,10031,10042,10055,10067,10071,10075,10089,10094,10098,10104,10109,10115,10126,10131,10134,10148,10155,10160,10167,10169,10175,10176,10178,10183,10188,10191,10195,10199,10203,10207,10211,10215,10222,10226,10246,10250,10254,10260,10266,10271,10275,10285,10293,10301,10308,10317,10329,10335,10341,10345,10349,10375,10381,10388,10395,10402,10406,10410,10418,10422,10428,10433,10437,10441,10446,10456,10458,10462,10484,10491,10495,10499,10503,10532,10546,10557,10562,10566,10570,10574,10580,10590,10605,10610,10614,10642,10675,10680,10685,10689,10697,10715,10720,10725,10730,10738,10746,10751,10754,10757,10761,10764,10768,10776,10781,10787,10799,10820,10828,10837,10844,10864,10871,10878,10883,10890,10897,10903,10909,10916,10922,10929,10940,10947,10957,10968,10975,10982,10987,10990,10993,10996,11003,11008,11023,11039,11042,11045,11057,11067,11075,11081,11087,11092,11097,11101,11109,11129,11135,11139,11145,11153,11160,11167,11172,11178,11195,11199,11204,11211,11217,11225,11235,11243,11251,11256,11261,11265,11271,11278,11285,11292,11299,11306,11313,11320,11327,11336,11344,11353,11361,11369,11378,11379,11384,11389,11395,11399,11415,11430,11438,11447,11452,11457,11462,11467,11480,11486,11497,11504,11511,11519,11542,11546,11551,11558,11563,11569,11583,11587,11590,11593,11594,11597,11600,11601,11604,11608,11612,11616,11620,11622,11624,11626,11628,11633,11635,11637,11640,11643,11647,11650,11653,11657,11660,11663,11666,11669,11672,11675,11676,11679,11682,11685,11687,11691,11697,11699,11703,11706,11712,11716,11719,11723,11725,11727,11729,11733,11735,11739,11742,11744,11747,11750,11753,11757,11760,11763,11766,11769,11773,11777,11780,11783,11788,11793,11932,12027,12080,12227,12241,12242,12244,12247,12249,12251,12254,12258,12262,12265,12268,12271,12274,12277,12281,12285,12286,12289,12291,12293,12296,12297,12304,12318,12335,12348,12354,12367,12380,12392,12398,12405,12411,12417,12424,12427,12431,12434,12437,12440,12443,12446,12449,12452,12478,12486,12502,12506,12510,12514,12518,12532,12536,12540,12544,12548,12552,12557,12561,12564,12583,12591,12598,12604,12615,12619,12623,12627,12631,12635,12639,12644,12651,12657,12664,12669,12674,12680,12684,12688,12692,12696,12700,12704,12709,12719,12728,12733,12755,12758,12761,12764,12767,12770,12777,12793,12801,12810,12820,12841,12850,12863,12871,12884,12892,12899,12911,12921,12925,12932,12937,12944,12951,12961,12969,12974,12980,12986,13009,13014,13023,13027,13036,13042,13053,13070,13076,13083,13090,13099,13108,13125,13132,13137,13148,13153,13159,13165,13174,13189,13194,13203,13211,13220,13225,13226,13234,13250,13267,13271,13276,13283,13294,13302,13307,13313,13326,13334,13342,13348,13365,13380,13398,13401,13407,13410,13418,13419,13420,13427,13437,13442,13443,13448,13451,13458,13465,13466,13467,13472,13481,13506,13516,13521,13527,13532,13539,13552,13558,13564,13567,13574,13580,13590,13595,13600,13603,13607,13613,13618,13622,13626,13641,13648,13652,13656,13660,13664,13668,13672,13676,13680,13684,13688,13692,13696,13700,13704,13708,13712,13716,13720,13724,13728,13732,13736,13740,13744,13748,13752,13756,13757,13761,13765,13769,13773,13777,13781,13785,13789,13793,13797,13801,13805,13809,13810,13812,13813,13817,13821,13822,13826,13830,13834,13838,13856,13861,13868,13873,13878,13889,13898,13905,13912,13919,13926,13933,13938,13946,13951,13956,13961,13967,13978,13983,13993,14000,14018,14025,14034,14039,14044,14055,14061,14066,14073,14078,14083,14090,14095,14099,14111,14117,14123,14130,14137,14144,14151,14163,14175,14181,14189,14191,14193,14195,14196,14197,14199,14201,14203,14205,14207,14209,14211,14213,14215,14217,14219,14221,14223,14225,14227,14229,14231,14233,14235,14237,14277,14281,14287,14300,14307,14312,14319,14326,14335,14342,14379,14388,14395,14400,14405,14410,14427,14433,14440,14447,14452,14459,14466,14474,14478,14482,14489,14494,14506,14511,14520,14525,14530,14537,14541,14545,14551,14556,14562,14570,14576,14581,14603,14609,14615,14622,14634,14639,14644,14656,14662,14668,14674,14678,14686,14692,14696,14701,14711,14717,14724,14735,14740,14747,14752,14759,14764,14771,14778,14784,14790,14795,14806,14812,14819,14829,14843,14850,14856,14860,14865,14875,14877,14879,14893,14898,14903,14906,14911,14917,14921,14925,14932,14938,14948,14954,14961,14968,14975,14982,14988,14995,15000,15005,15009,15015,15021,15030,15035,15039,15059,15064,15069,15076,15084,15092,15098,15102,15109,15115,15122,15129,15133,15137,15141,15147,15155,15162,15170,15175,15182,15186,15192,15198,15202,15206,15210,15214,15218,15221,15226,15250,15254,15264,15270,15275,15282,15289,15296,15305,15311,15317,15323,15331,15336,15342,15349,15354,15359,15367,15374,15378,15386,15394,15400,15414,15419,15428,15436,15442,15448,15461,15465,15471,15477,15484,15491,15499,15509,15516,15525,15532,15540,15547,15554,15561,15568,15575,15582,15589,15597,15604,15610,15615,15623,15628,15636,15644,15658,15665,15672,15680,15685,15691,15694,15697,15700,15704,15710,15716,15726,15732,15738,15745,15750,15757,15769,15777,15783,15793,15799,15820,15825,15833,15839,15848,15856,15862,15871,15877,15885,15894,15906,15912,15918,15924,15934,15940,15946,15952,15961,15984,15991,15995,15999,16007,16016,16023,16031,16036,16041,16051,16058,16064,16070,16097,16104,16109,16116,16119,16122,16125,16130,16133,16138,16141,16146,16149,16152,16155,16158,16161,16165,16168,16192,16210,16213,16216,16220,16227,16230,16235,16241,16249,16253,16277,16280,16284,16288,16293,16298,16302,16305,16309,16418,16421,16441,16450,16455,16461,16468,16473,16481,16490,16495,16500,16506,16512,16515,16518,16522,16525,16528,16531,16532,16534,16537,16540,16541,16543,16546,16548,16551,16628,16634,16640,16645,16652,16659,16666,16673,16679,16685,16691,16711,16717,16723,16729,16736,16740,16749,16759,16765,16771,16778,16782,16785,16790,16797,16807,16813,16819,16825,16836,16859,16868,16875,16882,16889,16896,16903,16910,16918,16924,16951,16957,16964,16968,16973,16979,16985,16990,16994,17014,17020,17032,17041,17048,17055,17062,17069,17075,17081,17088,17094,17104,17109,17114,17123,17138,17146,17152,17161,17169,17176,17181,17187,17191,17202,17206,17210,17216,17223,17234,17237,17262,17269,17275,17282,17288,17301,17313,17319,17327,17332,17340,17353,17360,17365,17372,17379,17387,17392,17397,17403,17408,17416,17424,17431,17438,17454,17459,17475,17480,17483,17490,17493,17496,17499,17502,17507,17513,17519,17525,17531,17538,17544,17550,17556,17563,17570,17575,17581,17587,17593,17598,17602,17610,17618,17624,17629,17637,17643,17649,17654,17660,17678,17682,17689,17694,17704,17712,17720,17729,17733,17738,17745,17749,17753,17757,17770,17776,17781,17787,17794,17800,17806,17810,17814,17821,17830,17835,17840,17850,17858,17868,17875,17885,17894,17903,17908,17913,17919,17928,17941,17947,17951,17959,17968,17975,17982,18003,18010,18017,18024,18034,18051,18057,18063,18069,18075,18083,18090,18100,18107,18129,18130,18157,18167,18172,18181,18198,18207,18215,18223,18229,18236,18242,18248,18253,18266,18273,18278,18284,18293,18303,18311,18317,18324,18338,18345,18354,18362,18369,18374,18386,18397,18413,18425,18433,18450,18456,18461,18466,18474,18500,18509,18511,18520,18538,18545,18618,18637,18646,18649,18657,18664,18670,18679,18680,18684,18695,18737,18741,18744,18747,18753,18756,18759,18762,18765,18768,18771,18775,18781,18788,18796,18803,18809,18817,18831,18836,18856,18896,18912,18923,18930,18934,18941,18952,18959,18963,18978,19024,19035,19048,19052,19066,19074,19081,19088,19094,19099,19104,19111,19119,19124,19135,19142,19149,19153,19158,19165,19175,19184,19193,19201,19208,19216,19217,19221,19232,19238,19242,19248,19264,19271,19276,19281,19289,19296,19309,19315,19316,19327,19338,19345,19350,19351,19352,19358,19364,19371,19381,19390,19392,19406,19407,19409,19415,19421,19427,19435,19436,19447,19453,19459,19465,19473,19501,19506,19509,19511,19516,19518,19520,19525,19526,19529,19530,19532,19534,19537,19539,19543,19555,19561,19571,19595,19601,19608,19613,19618,19624,19629,19630,19636,19640,19648,19657,19665,19672,19683,19691,19694,19695,19699,19703,19711,19718,19721,19728,19738,19744,19754,19761,19767,19775,19782,19795,19807,19819,19825,19844,19888,19897,19904,19912,19916,19922,19928,19937,19943,19954,20006,20016,20021,20026,20032,20059,20065,20075,20084,20091]; var uniques = []; var duplicates = []; var match = false; for (var i = 0; i < values.length; i++) { for (var j = 0; j < uniques.length; j++) { if (uniques[j] == values[i]) { match = true; break; } } if (match) { duplicates.push(values[i]); } else { uniques.push(values[i]); } match = false; } console.log(duplicates); console.log(values.length); console.log(uniques.length); console.log(duplicates.length); </script>[/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section]