Frame icon indicating copy to clipboard operation
Frame copied to clipboard

Allow multiple blueprints to be initialized using array destructuring

Open bugs181 opened this issue 6 years ago • 0 comments

Array destructing allows multiple blueprints to be included with minimal amount of syntax.

const [Mesh, HAM] = Frame(['Mesh', 'HAM'])

And multi-line

const [
  Movie,
  Song,
  HTML,
  React,
] = Frame([
  'Movie',
  'Song',
  'HTML',
  'React',
])

Resources:

  • https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

bugs181 avatar Mar 10 '19 06:03 bugs181