cara menambahkan check in javascript

element.checked = true;
Curious Tom