Pegasystems Interview Question

Questions from array manipulation JavaScript.

Interview Answer

Anonymous

Sep 11, 2018

you should be knowing basic library functions then it's easy to answer otherwise they also give you opportunity to think and answer writing your own function! The question asked from me was easy to solve using 'unshift' function but I forgot. However I successfully wrote user defined function to solve the problem.