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
10mo

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
1mo
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!
Add answer anonymously...
Capgemini Front end Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
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

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

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter