A little perspective For the past 12 years, I have been on both sides of the Front End Interview table. Sadly though, the emphasis is always put on Javascript during those rounds and the two other important languages — HTML and CSS — are not usually ...

Markdown supported · ⌘↵ to post
Thanks for the questions. But I have a question does interviewer helps interviewee in a quest of finding a solution to the problems or is it just a latter has to figure it out by himself apart from some syntax help.
Hi,
Great Article!
I'm just confused with this instruction on #3. Calculate Employee Gross Pay
I don't think it needs
partial applicationfor calculating those 3 roles since the base functions acceptsroleobject already. But it can help to createpartial applicationwhen computing the grossPay for the total of hourly and overtime.const getGross = (rate) => (totalHours) => rate * totalHours const computeGrossSalary = ({ role = {}, totalHours = 0, overtimeTotalHours = 0 }) => { const { rate: hourlyRate = 0, overtime: overtimeRate = 0 } = role || {} const totalHourlySalary = getGross(hourlyRate) const totalOvertimeSalary = getGross(overtimeRate) return totalHourlySalary(totalHours) + totalOvertimeSalary(overtimeTotalHours) } computeGrossSalary({ role: { roleId: 3, rate: 12.5, overtime: 18.75 }, totalHours: 1 })Please correct me if am wrong.
Cheers!