Skip to content

Commit cf5af60

Browse files
committed
#00 - JavaScript
1 parent 5be06df commit cf5af60

File tree

1 file changed

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

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// https://developer.mozilla.org/es/docs/Web/JavaScript
2+
/*Este es un comentario en javaScript
3+
pero con varias líneas*/
4+
5+
let numero = 1;//variable
6+
const name = 'JavaScript';//constante
7+
8+
// tipos de datos primitivos
9+
let text = 'Hola,';//tipo string
10+
let number = 2;//tipo número
11+
let bigInt = 7381263167832168362176321786381632613612362136781n;//tipo bigInt
12+
let boolean = true;//tipo booleano
13+
let car;// tipo indefinido
14+
let sym = Symbol("foo");//para simbolo
15+
16+
console.log(text + ' ' + name)

0 commit comments

Comments
 (0)