0

How to give a string as a function parameter in js?

7th Apr 2018, 6:02 PM
Evil Dog
Evil Dog - avatar
3 ответов
+ 3
Var a = "hi"; myFunction (a) ; function myFunction(stringArgName) {}
7th Apr 2018, 6:22 PM
josh mizzi
josh mizzi - avatar
+ 4
or just myFunction("hi"); ?
7th Apr 2018, 10:30 PM
Chalza
Chalza - avatar
0
Thanks, I was writing ' instead of " xD
7th Apr 2018, 6:23 PM
Evil Dog
Evil Dog - avatar