Open scriptspry opened 6 years ago
https://jsfiddle.net/xf0sf6zg/
keydown shift first, then keydown s
shift
s
"You pressed shift and s together." was logged twice!
That the message be logged just once.
The reverse is not true. keydown s, then keydown shift == message logged just once!!!
Testcase:
https://jsfiddle.net/xf0sf6zg/
What I did:
keydown
shift
first, then keydowns
What happened:
"You pressed shift and s together." was logged twice!
What is expected:
That the message be logged just once.
Additional info:
The reverse is not true. keydown
s
, then keydownshift
== message logged just once!!!