Open pohy opened 2 years ago
The getPosition function inside input.js checks strictly for undefined. Hence assigning null during the value sanitization is invalid. Also, the JSDoc for offset states that the values should be of types number or undefined
getPosition
input.js
undefined
null
offset
number
The
getPosition
function insideinput.js
checks strictly forundefined
. Hence assigningnull
during the value sanitization is invalid. Also, the JSDoc foroffset
states that the values should be of typesnumber
orundefined