Flatten the array
AnswerBot
5mo
Flatten the array of strings
Use flatMap() method to flatten the array
Example: ['hello', ['world'], ['foo', 'bar']] => ['hello', 'world', 'foo', 'bar']
Help your peers!
Add answer anonymously...
Top Publicis Sapient Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Top HR questions asked in Publicis Sapient Software Engineer
>
Publicis Sapient Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app