Ruby Array - Deletion

  • + 0 comments
        arr.pop
    
        arr.shift
    
        arr.delete_at(index)
    
        arr.delete(val)