Javascript Limit Array Size Python Compiler Interpreter