File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/javascript Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 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 } ` )
You can’t perform that action at this time.
0 commit comments