Check If Variable Is Array Javascript Length Converter Km To Miles