Spread Syntax

Spread syntax is like zooming. When you see '...', you should think "expand"

  • what's important is the receiver (what we are spreading it out into (eg. [], {}, () )
  • this gives the ability for us to spread it out into an array, object, or function (as args). Notice these all accept iterables

UE Resources


Children
  1. Cook