mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-11 03:09:35 +00:00
[jsinterp] Workaround operator associativity issue
https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
This commit is contained in:
@@ -117,8 +117,8 @@ _OPERATORS = { # None => Defined in JSInterpreter._operator
|
||||
'-': _js_arith_op(operator.sub),
|
||||
|
||||
'*': _js_arith_op(operator.mul),
|
||||
'/': _js_div,
|
||||
'%': _js_mod,
|
||||
'/': _js_div,
|
||||
'**': _js_exp,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user