How To Limit Array Size With Javascript Code Indoor

How To Limit Array Size With Javascript Code Indoor