+ 3

Help in JavaScript

I want a for loop that this process will repeat for more than one numbers https://code.sololearn.com/Wz8zWbmdS2h1/?ref=app

13th Apr 2021, 5:23 PM
Hrithik Mishra
Hrithik Mishra - avatar
8 Answers
- 1
here is your solution var string = ["+919999999999","+918888888888","+917777777777"]; for (i in string){ string[i] = string[i].slice(-10); } document.write(string)
13th Apr 2021, 6:24 PM
Ayush Kumar
Ayush Kumar - avatar
0
# create a list of prime numbers prime_numbers = [2, 3, 5, 7] # reverse the order of list elements prime_numbers.reverse() print('Reversed List:', prime_numbers) # Output: Reversed List: [7, 5, 3, 2]
29th Nov 2021, 9:55 AM
Ahmed Zaher
0
See codewitharry on YouTube
3rd Mar 2022, 12:07 PM
Ahmed Waiz
Ahmed Waiz - avatar
0
I don't know why I can answer the questions in JavaScript but when it comes to practical I cant
22nd Jan 2023, 5:56 PM
David Benjamin
0
Hi
25th Feb 2023, 5:27 AM
Surya Kumar
Surya Kumar - avatar
0
Hello please, i want to install python in my computer, but it does not happen.
14th Aug 2023, 11:47 AM
stive paulin
0
Lap The name is entered in letters only Age is entered in numbers, but between 18 and 60, they are only two numbers He can add more than one course The Delete above deletes the last item in the table Delete All deletes everything In Delete on each row, delete this row javascript
13th Jul 2024, 5:52 PM
YOUSEF Ali
YOUSEF Ali - avatar