Home How do I empty an array in JavaScript?
Reply: 0

How do I empty an array in JavaScript?

user192
1#
user192 Published in May 25, 2018, 11:09 am

Is there a way to empty an array and if so possibly with .remove()?

For instance,

A = [1,2,3,4];

How can I empty that?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.434368 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO