Classes
This commit is contained in:
@ -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));
|
Reference in New Issue
Block a user