0

Understanding x => x * 2 and other modern javascript

For anyone who does not understand line 2 below, there is a nice explanation (regarding modern javascript) at:

https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c

and

https://developer.mozilla.org/en-US/docs/Web/JavaScript

 

let x := 30;
x => x * 2;
alert(x)

 

Place the above as button code in Ninox to test it. 

2 replies

null
    • Choices_Software_Dean
    • 4 yrs ago
    • Reported - view

    The title of this forum post is not what I typed. Refer to "line 2" of the code shown within the post, to see what I typed.

    • Ninox partner
    • RoSoft_Steven.1
    • 4 yrs ago
    • Reported - view

    Interesting 🤔👍

Content aside

  • 4 yrs agoLast active
  • 2Replies
  • 415Views