Hi all, first post.
Just a quick question: why is it that when calling a string method, I have to use () at the end, but when calling the length method for an array I don’t? Compare the following:
let x = ‘hi’;
console.log( x.toUpperCase() );
let y = [1,2];
console.log( y.length );