hispano-lang 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/evaluator.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -341,7 +341,7 @@ variable duplicar = funcion(x) {
|
|
|
341
341
|
mostrar duplicar(5) // 10
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
####
|
|
344
|
+
#### Funciones Flecha
|
|
345
345
|
|
|
346
346
|
Sintaxis concisa para funciones anónimas:
|
|
347
347
|
|
|
@@ -366,7 +366,7 @@ mostrar suma(3, 4) // 7
|
|
|
366
366
|
mostrar factorial(5) // 120
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
|
|
369
|
+
Funciones flecha son ideales para callbacks:
|
|
370
370
|
|
|
371
371
|
```
|
|
372
372
|
variable numeros = [1, 2, 3, 4, 5]
|
package/dist/evaluator.js
CHANGED
package/package.json
CHANGED