Missing ";" before statement: greeting var func{name}(console.log(name));


#1


Intro to Functions in JS, #5 Trying it All Together


Error message:
'Missing ";'' before statement'


greeting var func{name}(console.log(name));


#2

Disregard, got it on my own!


#3

how did you do it? I can't seem to make it work.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.