A note on JavaScript arrays creation & initialization
I use PHP a lot in my projects and it happens that sometimes I combine PHP with another language and write completely useless code. PHP arrays can be created and initialized with like this: <?php $cities[] = “mecca”; $cities[] = “medina”; ?> I thought that the same would apply to javascript… Yes, it can work, [...]
Feel free to contact me at any time, I accept support requests, just make sure your question is related to topics covered on this site.