If Not In Array Javascript Length Converter