Hey, can anyone help me with this exercise?
I’m doing the Secret Message Exercise Project from the JavaScript course, but I’m getting a bit confused to why this isn’t it working.
let secretMessage = ['Learning', 'is', 'not', 'about', 'what', 'you', 'get', 'easily', 'the', 'first', 'time,', 'it', 'is', 'about', 'what', 'you', 'can', 'figure', 'out.', '-2015,', 'Chris', 'Pine,', 'Learn', 'JavaScript'];
console.log(secretMessage.pop());
console.log(secretMessage.lenght);
It should have given me the array without ‘JavaScript’, but all I get is “undefined”.
Many thanks in advance!