http://gitunderground.i2p/archive/youtube-dl/commit/420d53387cff54ea1fccca061438d59bdb50a39c
_test ( ' function f() { return null << undefined} ' , 0 ) def test_negative ( self ) : self . _test ( ' function f() { return 2 * -2.0 ;} ' , - 4 ) youtube_dl/jsinterp.py +2 -1 Unescape Escape Copy filename View File @@ -154,6 +154,7 @@ def _js_to_primitive(v): ) # more exact: yt-dlp/yt-dlp#12110 def _js_toString ( v ) : return ( ' undefined ' if v is JS_Undefined @@ -162,7 +163,7 @@ def _js_toString(v): else '...