- Create a function declaration
sayMyName()
that receives the string argument and returnsThe name is ______.
Try to invoke this function before it is created (a couple of lines in code before you declare it). Are you able to see the output? - Create a function expression
getStudentData()
that receives three arguments:name
(string),age
(number) andcity
(string) and returnsStudent ____ (name) is ___ years old and from ______ (city).
. Try to invoke this function before it is created (a couple of lines in code before you declare it). Are you able to see the output?
Created
July 10, 2020 16:19
-
-
Save sandrabosk/79e74c4f633a6dea487565acaf61ddfa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment