Open edme88 opened 4 months ago
Si una variable NO va a ser sobre-escrita, debe ser declarada como const. Si una variable será sobre-escrita dentro de una función debe ser let. Si es una variable global debe ser var.
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L12-L15
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L42-L45
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L73-L76
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L26
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L56
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L96
Si una variable NO va a ser sobre-escrita, debe ser declarada como const. Si una variable será sobre-escrita dentro de una función debe ser let. Si es una variable global debe ser var.
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L12-L15
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L42-L45
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L73-L76
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L26
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L56
https://github.com/UCC-LabCompu2/proyecto2024-rubies/blob/e95a37852c8808c82cc9ce27a9ba185a71558e0e/JS.js#L96