Skip to content

Commit 8f39ad3

Browse files
Miguel RejonMiguel Rejon
authored andcommitted
#00 - Javascript
1 parent 4e5b78c commit 8f39ad3

File tree

1 file changed

+35
-0
lines changed
  • Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/javascript

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Sitio oficial de Javascript: https://developer.mozilla.org/es/docs/Web/JavaScript
2+
3+
//Este es un comentario en una línea
4+
/*
5+
Este es un comentario en varías líneas
6+
*/
7+
8+
//Constante
9+
const greetings = 'Hello'
10+
11+
//Variable
12+
let language = 'Javascript'
13+
14+
//Tipos de datos:
15+
16+
//String
17+
const thiIsAString = 'This is a string'
18+
19+
//Number
20+
const thisIsANumber = 1
21+
22+
//BigInt
23+
const thisIsABigInt = BigInt(9007199254740991)
24+
25+
//Boolean
26+
const thisIsABoolean = true
27+
28+
//Undefined
29+
let thisIsAnUndefined
30+
31+
//Symbol
32+
const thisIsASymbol = Symbol()
33+
34+
35+
console.log(`${greetings} ${language}`)

0 commit comments

Comments
 (0)