Cara menggunakan CTX di Canvas JS
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
AvidCoder
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');