Skip to content

Commit 62bca8c

Browse files
committed
en una sola Clase Todas las funciones
1 parent 70d54c2 commit 62bca8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Entregas/Entrega2/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ class User {
1919
}
2020
}
2121
ingresoDatos (){
22+
/**
23+
* USANDO PROMPT PARA INGRESO DE DATOS
24+
*/
2225
// this.nombre=prompt("Ingrese Nombre: ");
2326
// this.apellido=prompt("Ingrese Apellido: ");
2427
// this.cedula=prompt("Ingrese Cedula: ");
@@ -31,6 +34,9 @@ class User {
3134
// usuario: this.usuario,
3235
// pass: this.pass
3336
// }]
37+
/**
38+
* USANDO UN FOR..IN PARA INGRESO DE DATOS
39+
*/
3440
const datosU={
3541
nombre: this.nombre,
3642
apellido: this.apellido,

0 commit comments

Comments
 (0)