array manipulation in javascript

visit shbcf.ru