"use strict"; function last(array) { return array[array.length - 1]; } function unique(array) { return [...new Set(array)]; }