Reduce Array Size Python Tutorial Javatpoint Javascript Program