Skip to content

Commit 34d0284

Browse files
committed
#00 - javascript
1 parent 4d99ddf commit 34d0284

File tree

1 file changed

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

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//solución de parte de: https://github.com/sans6114
2+
3+
// lenguaje seleccionado: javascript
4+
//documentación: https://developer.mozilla.org/en-US/docs/Web/JavaScript
5+
// comentarios: one line comment = '//' multi line comment: start with '/*' and end with '*/'
6+
7+
// examples: one line comment: '//este es un comentario de una linea' multi line comment:
8+
/*
9+
document.getElementById("myH").innerHTML = "My First Page"; --> esta linea de codigo sera ignorada por javascript
10+
*/
11+
let miVariable = 'hola soy una variable'
12+
const miConstante = 'hola soy una constante'
13+
14+
15+
let strings = 'este es un string'
16+
let numbers = 10
17+
let boolean = true
18+
let nullish = null
19+
let undefined = undefined
20+
let bigInt = 67890987654323456789n
21+
let symbol = symbol()
22+
23+
const lenguaje = 'javascript'
24+
25+
console.log(`¡Hola, ${lenguaje}`)

0 commit comments

Comments
 (0)