JS 3 Array methods, Objects, Instances, prototypes, Object constructor and extends
Filter(), map(), find() and forEach() on arrays
//we can apply it directly on arrays, like most Predicate
[1,2,3,4,5].includes( 2 ) //truelet namesArray = ['elamin', 'antigoni', 'chris']
namesArray.sort().map( (x) => x.toUpperCase() ) //['ANTIGONI', 'CHRIS', 'ELAMIN',]
//or we can reference an external function (without calling it using () )
function upper(x){
return x.toUpperCase()
}
namesArray.map(upper)Objects, methods, and keys
Object Instances and Prototype inheritance

Object constructor and extends
PreviousJS 2, String array methods, If and Switch statements, let and var properties, HTML forms and js validation and setInterval()/setTimeout()NextJS 4, spread and rest operators, Error constructor and object, TRY, CATCH and FINALLY
Last updated