Tuesday, October 9, 2018

Think you know Javascript?

Javascript are now way more than little functions that let you change something on your page. What happened to its once simple syntax. It used to be simple and free you from variable types and semicolons.

Here are some never things I never heard of before... gee how are you supposed to keep up with endless changes.

Look at this dot-dot-dot thing that turns an array into individual argument: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax

What the heck is this function * thing? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/function*.

oh and you can have a void operator?

No comments: