End Developer Junior Front Interview Questions

17,089 end developer junior front interview questions shared by candidates

Write a function which takes an array and number and if the number given is greater than array length then return element before last element. for example take(['a', 'b', 'c', 'd'], 10) should return [a, b, c, d, c, b, a, b, c, d]
avatar

Front End Developer

Interviewed at OVO

2.7
Feb 13, 2020

Write a function which takes an array and number and if the number given is greater than array length then return element before last element. for example take(['a', 'b', 'c', 'd'], 10) should return [a, b, c, d, c, b, a, b, c, d]

Viewing 711 - 720 interview questions

Glassdoor has 17,089 interview questions and reports from End developer junior front interviews. Prepare for your interview. Get hired. Love your job.