get event text javascript code example Example: event.target javascript const theTarget = someEvent.target;