Javascript

Javascript

Tricky use case of Array.prototype.map in JS

If you are familiar with functional programming, Array.prototype.map must be a function that you work with every day. We encountered a tricky use case of it at Cốc Cốc recently, it took me a while to figure out, and here's the answer...

Read →
Javascript

Javascript - function declaration vs function expression

Phân biệt 2 khái niệm cơ bản trong Javascript - Function Declaration vs Function Expression và các trường hợp sử dụng

Read →