Cómo agregar algo en la matriz JS

const array = [1,2,3,4];
array.push(5);
Gorgeous Gemsbok