DEV Community

ZhiHong Chua
ZhiHong Chua

Posted on • Edited on

Frontend Fundamentals 8/20

1. Curry

Re-doing this, now I know func.length is length of arguments passed to func. Needing to curry(func.bind(this),...) is to maintain the context even as func is passed towards inner loops. func.apply(this, allArgs) makes sure it is applied with context. But.. what is the context?

2. CommonJS vs ES modules

🚨 not difficult, but should test again later.

3. Digital Clock

✅ (Simple) System Design
✅ Coding Chops
? Clean Code -- too lazy / no time

4. Accordion

That was easy

5. Promise.any

I think it's easy, but got some syntax I could gain more familiarity with.

SurveyJS custom survey software

Build Your Own Forms without Manual Coding

SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend, giving you full control over your data with no user limits. Includes support for custom question types, skip logic, an integrated CSS editor, PDF export, real-time analytics, and more.

Learn more

Top comments (0)