Node Js Array Functions Python Colon