How to write that 1 sign of the number was not equal to 2 and 3 and 4 Example 1234 norms, 1214 are identical, 1231 are the same. Does not roll (rands [0]! = Rands [1] || rands [2] || rands [3])
function randomInteger(ar) { ddd="ΠΎΠ΄ΠΈΠ½Π°ΠΊΠΎΠ²ΡΠ΅"; rand = ar; rands=String(rand); if(rands[0] != rands[1] || rands[2] || rands[3] ){ return rands; }else return ddd; } console.log(randomInteger(1010));
1222? - Grundy