Create New Empty Array Javascript Function Definition Is Not Allowed