Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

What are the values of x and y after the invocation of `foo` in following? var x = "I am global x"; var y = "I am global y"; function foo() { var y = x = "Hello from foo"; } foo();

x = "I am global x"; y = "I am global y";
x = "Hello from foo"; y = "I am global y";
x = "Hello from foo"; y = "Hello from foo";
The function throws a SyntaxError
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon