Skip to content

Instantly share code, notes, and snippets.

@RodolVelasco
Created November 1, 2019 14:37
Show Gist options
  • Save RodolVelasco/beacb97ec176cc0e2ef20f8b85135c6d to your computer and use it in GitHub Desktop.
Save RodolVelasco/beacb97ec176cc0e2ef20f8b85135c6d to your computer and use it in GitHub Desktop.
@RodolVelasco
Copy link
Author

Variables

Declare a variable. Después de EMSC6
let name = 'Marduk';

Valores de variables que no cambian
const name = 3;

Saber el tipo
typeof nombre_variable

Objetos

let person = {
    name: 'Marduk',
    age: 34
}
console.log(person);

Array

let selectedColors = [];
let selectedColors = ['red','blue'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment