[jsinterp] Workaround operator associativity issue

* temporary fix for player 5a3b6271 [1]

1. https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
This commit is contained in:
pukkandan 2022-09-02 20:41:39 +05:30 committed by dirkf
commit 7009bb9f31
2 changed files with 5 additions and 1 deletions

View file

@ -107,8 +107,8 @@ _OPERATORS = (
('+', _js_arith_op(operator.add)),
('-', _js_arith_op(operator.sub)),
('*', _js_arith_op(operator.mul)),
('/', _js_div),
('%', _js_mod),
('/', _js_div),
('**', _js_exp),
)