New to Javascript. need help

New to Javascript. need help



I started taking a class for JavaScript, but the resources I’ve been given are not explained well.

My problem to solve is:
Create function named consoleMe() that takes a string parameter to console log "The current string is " plus the parameter.
Use single ‘’ and double “” quotes to achieve this.
Call the function with the value of “go”. The output should look like, “The current string is go”

I thought it would be
function consoleMe(word) {
return “The current string is” + " " + word;
but when I go to the console and type consoleMe(go) it doesn’t work.


Nevermind. It’s a string. I should’ve typed