
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...
Top Capgemini Front end Developer interview questions & answers
Popular interview questions of Front end Developer
Top HR questions asked in Capgemini Front end Developer
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