Is there another replace method? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Is there another replace method?

I know JavaScript has a replace method for strings and regular expressions, but does it have one for variables, numbers, and arrays? It doesn't seem of a programming language to be as non flexible as that

7th May 2018, 11:28 PM
jacksonofgames 28
jacksonofgames 28 - avatar
1 ответ
0
For arrays it does have one: splice()
26th May 2018, 9:55 AM
Sjoerd Flameling
Sjoerd Flameling - avatar