0
separate
How can I separate the first and second username in java script. alert("السلام عليكم"); var user= prompt("ادخل الاسم الاول"); var user=prompt("ادخل الاسم الثاني "); alert(user+user);
1 ответ
+ 6
1. You can't have two different values assigned to the same variable. You must create two separate variables: user1 and user2
2. Do you mean like this?: user1 + ' ' + user2