in Python, you can get a list like this (array in JavaScript)
a = ["one", "two", "three"]
print(a[:]) # ["one", "two", "three"]
I’m wondering how I can do this too but in JavaScript. If it is possible, please tell me 🙂
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
in Python, you can get a list like this (array in JavaScript)
a = ["one", "two", "three"]
print(a[:]) # ["one", "two", "three"]
I’m wondering how I can do this too but in JavaScript. If it is possible, please tell me 🙂