filmov
tv
Apa Itu Pure Function di JavaScript?

Показать описание
Pure function adalah salah satu "parameter" yang dapat membuat project kita lebih maintainable dan testable. Di video ini, kita akan belajar apa itu pure function dan cara membuatnya di dunia JavaScript.
Chapters:
00:00 Intro
00:09 Apa itu pure function
00:35 Contoh non pure function
02:36 Contoh non pure function dengan efek samping
03:24 Menghapus efek samping agar menjadi pure function
08:40 Metode-metode Deep Cloning
Referensi:
What Is a Pure Function in JavaScript?
Spread syntax (...)
What is the most efficient way to deep clone an object in JavaScript?
Chapters:
00:00 Intro
00:09 Apa itu pure function
00:35 Contoh non pure function
02:36 Contoh non pure function dengan efek samping
03:24 Menghapus efek samping agar menjadi pure function
08:40 Metode-metode Deep Cloning
Referensi:
What Is a Pure Function in JavaScript?
Spread syntax (...)
What is the most efficient way to deep clone an object in JavaScript?