If X Not In Array Javascript Function Types In Python There Is No Restriction