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.indexOf('get','easily')
Why does it only log the value of the 'get', not of both 'get' and 'easily', and how can I return both?
Appreciate the help, I am a beginner, sorry if the formatting is bad.