top of page loads some stuff but everything under doesnt

PM 29.1.0 x32 on Windows 7 SP 1 x64
Moderator: trava90

Code: Select all
Timestamp: 3/13/2021 11:53:07 PM
Error: SyntaxError: missing ) after condition
Source File: https://www.sofascore.com/_next/static/chunks/26cfcb59.50afd13a09b5024f9744.js
Line: 1, Column: 83045
Source Code:
rorCode.API_ERROR);for(;;){if(0===this.yields.length&&await this.signal,this.err)throw this.err;const t=this.yields;this
Code: Select all
if(0===this.yields.length&&await this.signal,this.err)


No, it doesn't. According to your own explanation that is not at all what it does.The Squash wrote: ↑2021-03-15, 01:55So basically, the "gobbledygook" code above simply waits for a Promise to be fulfilled, and then tests if the Promise failed.
The complication is that we don't support this kind of weird abuse of async keywords inside conditional expressions because it makes no sense whatsoever.
I agree with your attitude, but IMHO, all minified JavaScript is massively confusing. That's kinda how minified JavaScript works these days; obfuscation comes along with minification these days I suppose? Like, who writes the value first and the variable second in an equality-testing statement:
Code: Select all
0===this.yields.length

The Squash wrote: ↑2021-03-16, 00:28Like, who writes the value first and the variable second in an equality-testing statement:

Are you sure? https://javascript-minifier.com/
Code: Select all
if (variable === 0 && other < 15)
print("A string" + variable);
Code: Select all
0===variable&&other<15&&print("A string"+variable);

Code: Select all
if (foo()) {
bar();
baz();
if (quux() == 2) {
niz();
}
}
Code: Select all
foo()&&(bar(),baz(),2==quux()&&niz());
