What would the function cube return, assuming it is called with the line cube(3). function cube( y ); { return y * y * y; }
a) JavaScript runtime error
b) 3
c) 9
d) 27
Ans: (a)
Business
a) JavaScript runtime error
b) 3
c) 9
d) 27
Ans: (a)