This commit is contained in:
2024-09-21 11:10:25 +02:00
parent f6718afb32
commit 02cf9667f8
3 changed files with 125 additions and 1 deletions

View File

@ -97,4 +97,23 @@ let total = numberok.reduce(summa) //reduce()
console.log(total)
//https://youtu.be/lfmg-EJ8gm4?feature=shared&t=17107
//https://youtu.be/lfmg-EJ8gm4?feature=shared&t=17107
//Funcion Expressions
const hello = function(){
console.log("HELLO");
}
hello();
setTimeout(function(){
console.log("HOLA");
}, 3000);
//Arrow functions
const squaros = numberok.map((element) => Math.pow(element, 2));