Skip to content

Instantly share code, notes, and snippets.

View jherr's full-sized avatar
💭
Making a bunch of videos for the coming weeks

Jack Herrington jherr

💭
Making a bunch of videos for the coming weeks
View GitHub Profile
// Creating arrays
const a1 = [1,2,3];
const a2 = Array.from([2,3,4]);
const a3 = new Array(20).fill(0).map((n,x) => x + 1);
// Length
a3.length;
// Destructuring arrays
const [v1, v2, v3] = a1;
  • Create your project with create-react-app.
  • Add a .npmrc file with the contents:
global-style = true
  • Add a blank .tesselignore file so that nothing is left out you don't intend.
  • Add a .tesselinclude file with the contents:
@jherr
jherr / Vue-on-Tessel-2.md
Last active December 9, 2018 22:28
Setup Vue on Tessel 2
  • Create your project with Vue CLI.
  • Add a .npmrc file with the contents:
global-style = true
  • Add a blank .tesselignore file so that nothing is left out you don't intend.
  • Add a .tesselinclude file with the contents: