mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-05 12:36:17 -07:00
[jsinterp] Improve JS language support (#31175)
* operator ?? * operator ?. * operator ** * accurate operator functions * `undefined` handling * object literals {a: 1, "b": expr} * more tests for weird JS comparisons: see https://github.com/ytdl-org/youtube-dl/issues/31173#issuecomment-1217854397.
This commit is contained in:
parent
e52e8b8111
commit
b0a60ce203
3 changed files with 267 additions and 40 deletions
|
@ -102,6 +102,10 @@ _NSIG_TESTS = [
|
|||
'https://www.youtube.com/s/player/4c3f79c5/player_ias.vflset/en_US/base.js',
|
||||
'TDCstCG66tEAO5pR9o', 'dbxNtZ14c-yWyw',
|
||||
),
|
||||
(
|
||||
'https://www.youtube.com/s/player/c81bbb4a/player_ias.vflset/en_US/base.js',
|
||||
'gre3EcLurNY2vqp94', 'Z9DfGxWP115WTg',
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue