Skip to content

Commit b5f407b

Browse files
committed
20240529 - REGISTRO CON CLASES Y FUNCIONES, ETC.
1 parent 22f6432 commit b5f407b

File tree

15 files changed

+162
-94
lines changed

15 files changed

+162
-94
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<title>Document</title>
77
</head>
88
<body>
9-
9+
CLASE 4 - FUNCIONES
1010
</body>
1111
</html>

Clase 4 - FUNCIONES/index.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/* let idProducto = "0xA51";
2+
let nombreProducto = "Arroz";
3+
let precio = 100;
4+
let stockProducto = 20; */
5+
6+
7+
//FUNCIONES
8+
9+
/**
10+
* Producto
11+
* @param id type String
12+
* @param nombre type String
13+
* @param stock type number
14+
* @param precio type number
15+
*/
16+
17+
18+
function FuncionSinParametros (){
19+
//AQUI VA CODIGO
20+
};
21+
22+
function FuncionConParametros(ValorA,ValorB){
23+
Resultado=ValorA+ValorB;
24+
return Resultado;
25+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<title>CLASE 5</title>
88
</head>
99
<body>
10-
10+
CLASE 5 - OBJETOS
1111
</body>
1212
</html>
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
//SEGUNDA ENTREGA
22
//ARRAY
33

4-
/**
5-
* PIDE INGRESAR LOS DATOS DE PERSONAS EN UN ARRAY
6-
*
7-
*/
8-
9-
//CREO MATRIZ
10-
114
//PIDE INGRESAR LOS DATOS AL ARRAY
125

136
let head = ['Nombre', 'Apellido','Cedula'];

0 commit comments

Comments
 (0)