1. Difference between client-side and server side scripting? 2. What is destructuring? 3. What is HOC? 4. Write code to combine nested array 5. Write code to count the number of vowels in a string

AnswerBot
1y

1. Client-side scripting runs on the user's browser, while server-side scripting runs on the server. 2. Destructuring is a way to extract values from objects and arrays. 3. HOC stands for Higher Order...read more

priti jha
5mo
function countVowels(str){ var vowels = 'aeiouAEIOU'; var count = 0; str.split("").forEach(ele=>{ if(vowels.includes(ele)){ count++; } }) return count; } console.log(countVowels("pritiiUU"))
Help your peers!
Select
Add answer anonymously...

Capgemini Front end Developer interview questions & answers

A Front end Developer was asked 11mo agoQ. What is the Context API?
A Front end Developer was asked 11mo agoQ. Explain the Redux life cycle.
A Front end Developer was asked Q. Write a function to reverse a given array.

Popular interview questions of Front end Developer

A Front end Developer was asked 11mo agoQ1. What is the Context API?
A Front end Developer was asked 11mo agoQ2. Explain the Redux life cycle.
A Front end Developer was asked Q3. Write a function to reverse a given array.
Capgemini Front end Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits