Javascript

Understanding This, Bind, Call, and Apply in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding This, Bind, Call, and Apply in JavaScript

The `this` keyword is a very important concept in JavaScript, and also a particularly confusing one to both new developers and those who have experience in other programming languages. In JavaScript, `this` is a reference to an object. In this article, you’ll learn what `this` refers to based on context, and you’ll learn how you can use the `bind`, `call`, and `apply` methods to explicitly determine the value of `this`.

Read more
Memahami Kait Siklus Hidup Vue.js — step-by-step Javascript tutorial on Progressive Robot

Memahami Kait Siklus Hidup Vue.js

Kait siklus hidup (lifecycle hook) adalah jendela menuju cara kerja pustaka yang Anda gunakan di belakang layar. Kait siklus hidup memungkinkan Anda untuk mengetahui kapan komponen Anda dibuat, ditambahkan ke DOM, diperbarui, atau dihancurkan. Artikel ini akan memperkenalkan Anda ke penciptaan, pemasangan, pembaruan, dan penghancuran kait.

Read more
CHAT