Python Check Array Size Javascript Map Examples