Ejercicio 3 (en progreso) #6

Open
dipaolo.lucio wants to merge 3 commits from dipaolo.lucio/javascript-primeros-ejercicios:java-trabajo-1 into main
2 changed files with 52 additions and 1 deletions
Showing only changes of commit b5eefa8c3e - Show all commits

15
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}

View File

@@ -3,7 +3,7 @@
console.log("Archivo vinculado exitosamente");
// Resolver acá los ejercicios propuestos.
/*
let nombre = "lucio"
let edad = 12
console.log (`hola ${nombre}!`)
@@ -14,3 +14,39 @@ if (edad<=13) {
} else {
console.log("mayor de edad")
}
*/
/*
let maximo = 15
let = 1;
while(i < maximo){
if (i % 3 === 0){
console.log(1);
}
i++;
}
*/
/*
let maximo = 15;
for (let i = 3; i < maximo; i +=3){
console.log(i);
}
*/
/*
const frutas = ["manzanas", "pera", "uva"];
for (const fruta of frutas){
console.log(fruta);
}
*/
/*
function presentarse(nombre, edad){
return 'Me llamo, ${nombre} y tengo ${edad} anos';
}
const miPresentacion = presentarse("Lucio",18)
console.log(miPresentacion);
*/