DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
arrow function
textBox.addEventListener('keydown', (event) => { console.log(`You pressed "${event.key}".`); });
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#arrow
#function
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit