Skip to content

A. JavaScript Refresher

Carlos Akión Garro Campos edited this page Aug 7, 2023 · 9 revisions

Important information

Imports and Exports: I learned 3 different ways to import and export using JavaScript.

Differentes types of values:

  • String
  • Number
  • Boolean
  • Null & undefined
  • Objects

In javascript in common:

image

let = create variables (local scoop)

var = create variables (global)

Array Functions:

  • map: create new array with the values of the original array and you can add more

const = create constant

Functions and arrow functions

  • function : hello(){ //code }
  • arrow functions : ()=>{ //code }

Destructuring

const [firsName,lastName] = ["Max","Rodriguez"]

Clone this wiki locally