Dapatkan item terakhir di array JS
const lastItem = colors[colors.length - 1]
Xenophobic Xenomorph
const lastItem = colors[colors.length - 1]