javascript in a nutshell

Submitted By: admin on May 23, 2017

6

3

12805

javascript in a nutshell Source: www.reddit.com

y tho

Site Comments (3)

Please Signin or Signup to add a comment


0

May 24, 2017, 8:45 am

mart wrote:

@Russell I know, that it is a multiplication sign. But read the comments. There also the multiplication sign is used instead of an equals sign. Also try executing var x * 3; You will get an error "Uncaught SyntaxError: Unexpected token *"

0

May 24, 2017, 1:39 am

Russell wrote:

@mart, that's a multiplication sign. So x didn't get initialized, just multiplied by something with the result not stored. Since x is uninitialized it's 0.

0

May 23, 2017, 8:06 pm

mart wrote:

why is there even an asterisk used as an equals symbol? o.O