This channel contains +front end interview questionsSharing my experiences which i had in my L1,L2 and client rounds + Some positive quotes + And tips for changing your mindset and many more on the way
@learner
#1: Epam Automation Testing Role for Playwright with Js/TsTechnical Round 1 Interview Questions Series~~~~~~~~ Topic: CODING Question ~~~~~~~~~~~1. reverse a string ====Soultion===const reverseData = (data) => data.split('').reverse().join(' ');reverseString("Lets Learn Together");====Output===='r e h t e g o T n r a e L s t e L'2. add a new key to each object in an array and calculate annual salarylet data = [{ name: "Asw" , age: 16, salary: 5000 }, { name: "micky" , age: 17, salary: 5500 },{ name: "Minnie" , age: 18, salary: 6000 }]function annualSalary(input) {for(item of data) { item['annualSalary'] = 12 * item['salary'] } return data;}annualSalary(data)====Output====={name: 'Asw', age: 16, salary: 5000, annualSalary: 60000} 1 : {name: 'micky', age: 17, salary: 5500, annualSalary: 66000} 2 : {name: 'Minnie', age: 18, salary: 6000, annualSalary: 72000} length : 3
2 weeks ago (edited) | [YT] | 0
View 0 replies
@learner
#1: Epam Automation Testing Role for Playwright with Js/Ts
Technical Round 1 Interview Questions Series
~~~~~~~~ Topic: CODING Question ~~~~~~~~~~~
1. reverse a string
====Soultion===
const reverseData = (data) => data.split('').reverse().join(' ');
reverseString("Lets Learn Together");
====Output====
'r e h t e g o T n r a e L s t e L'
2. add a new key to each object in an array and calculate annual salary
let data = [{ name: "Asw" , age: 16, salary: 5000 }, { name: "micky" , age: 17, salary: 5500 },{ name: "Minnie" , age: 18, salary: 6000 }]
function annualSalary(input) {
for(item of data) {
item['annualSalary'] = 12 * item['salary']
}
return data;
}
annualSalary(data)
====Output=====
{name: 'Asw', age: 16, salary: 5000, annualSalary: 60000}
1
:
{name: 'micky', age: 17, salary: 5500, annualSalary: 66000}
2
:
{name: 'Minnie', age: 18, salary: 6000, annualSalary: 72000}
length
:
3
2 weeks ago (edited) | [YT] | 0
View 0 replies