DEV Community

ZhiHong Chua
ZhiHong Chua

Posted on

Frontend Fundamentals 6/20

1. Deep Clone

Can do the hacky way, but there's a more proper one to try 🚨

2. Explain how a browser determines what elements match a CSS selector.

I understand the specificity, but it also has some tips on writing efficient CSS that reduces repaint or reflow.

3. Star Rating

TODO

4. Array.prototype.reduce

The base case was easy to achieve, but the edge cases abit hard.

5. Function.prototype.call

🚨 its confusing. This article might help

6. BONUS! Deep Equal

Quite related to Deep Clone, but I messed up a little on the Object identification part -- but closer than yesterday!

Top comments (0)