Pregunta de entrevista de Globant

-Js part - reduce, map, filter, find, promises, destructuring, currying -Http knowledge -all http headers and body components and diferent verbs -Node js questions -event loop - c++ addons - inbuild modules - express modules OOP - heritance - Polymorfism SOLID - just theorical Scrum - Scrum flow during sprint Code test: they give you an array with numbers, strings, NaN null and you have to sort the numbers and deleting all not numbers

Respuesta de la entrevista

Anónimo

11 sep 2020

let test1 = [2, 4,1,10, 11, -1, -4, null, undefined, "bad", NaN]; const ordenar =(vc)=>{ return vc.filter(x=> (typeof x ==='number') && (!!x)).sort((a,b)=> a-b) } console.log( ordenar(test1));

1