Lesson 7 - What's the assignment


#1


The instructions are "On line 7, after the equals sign, call the function timesTwo with any parameter you want. Line 8 prints out newNumber. Notice how the value we return from timesTwo() is automatically assigned into newNumber." However, there is no equals sign on line 7 and I am unsure what to do.



#2

on line 7 can't you see like

var newNumber =

if yes then call the function timesTwo with any parameter you want.

if you can't see then reset your code by clicking on the reset code button next to Save & Submit Code
or
reload your button page (not sure may be slove your problem)


#3

Resetting the code fixed the problem. Thank you very much!


#4

i finally figured this out


#5

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