function truncate(arr) {
    return arr.slice(0,-1)
}