Javascript Detect Type Of Array In Javascript Tutorial