I just finished the Arrays lesson, and I was messing around with some of the methods. I was curious why I got a number output for this code:
const chalupa = [‘i love chalupas!’];
console.log(chalupa.push(‘tacos’, ‘burritos’, ‘gorditas’));
the output was 4
I thought it would output the items I was .push-ing