V
V
Valeriy19972015-08-26 16:24:32
JavaScript
Valeriy1997, 2015-08-26 16:24:32

How to find an error in a line?

Tell me why in this line:

if (!((which >= 48 && which <= 57) || which == 13)){


throws an error?

Here is the whole code:
jsfiddle.net/t52ka/28

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2015-08-26
@Valeriy1997

Apparently not which , but e.which

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question