cara mengatur klik pendengar acara javascript

WhatYouAreSetting.addEventListener('click', function() {
 	// Code
});
Expensive Elk