mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-10 10:49:45 +00:00
[jsinterp] Fix bug in operator precedence
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
This commit is contained in:
@@ -98,8 +98,8 @@ _OPERATORS = { # None => Defined in JSInterpreter._operator
|
||||
'&': _js_bit_op(operator.and_),
|
||||
|
||||
'===': operator.is_,
|
||||
'==': _js_eq_op(operator.eq),
|
||||
'!==': operator.is_not,
|
||||
'==': _js_eq_op(operator.eq),
|
||||
'!=': _js_eq_op(operator.ne),
|
||||
|
||||
'<=': _js_comp_op(operator.le),
|
||||
|
Reference in New Issue
Block a user