π Questions asked:
1οΈβ£ Implement custom .filter & .reduce
2οΈβ£ Implement dynamic currying function
3οΈβ£ Implement compose function
4οΈβ£ Predict outputs π
console.log('mehul' == ('lakhanpal' && 'mehul')) // true
console.log('mehul' === ('lakhanpal' || 'mehul')) // false
β‘ Concepts tested:
- Functional programming in JS
- Currying & composition
- Equality (
==
vs===
) - Short-circuiting (
&&
/||
)
π» Questions + Solutions:
Top comments (0)