Public
Edited
Feb 27
Insert cell
Insert cell
Insert cell
"hola" === 'hola'
Insert cell
`hello` !== "good bye"
Insert cell
Insert cell
myName = 'Ggz'
Insert cell
hello = `Hola, ${myName}! tu nombre es ${myName.length} letras.`
Insert cell
`3 x 4 = ${3 * 4}`
Insert cell
Insert cell
palabras = hello.split(' ')
Insert cell
Insert cell
palabras.join('_')
Insert cell
Insert cell
roster = ['Sue', 'Bob', 'Joe', 'Meg', 'Michelle', 'Mike', 'Kate', 'Sue', 'Mike', 'Meg', 'Joe']
Insert cell
roster.length
Insert cell
//El último elemento
roster[roster.length - 1]
Insert cell
//podemos usar números negativos
roster.at(-1)
Insert cell
Insert cell
roster.slice(1, 4)
Insert cell
roster.includes('Sue')
Insert cell
roster.includes('Frank')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more