Buckets:
| addToLibrary({ | |
| ensure_js_throws_with_assertions_enabled__deps: ['$bigintToI53Checked'], | |
| ensure_js_throws_with_assertions_enabled: function(js_code, error_type) { | |
| js_code = UTF8ToString(bigintToI53Checked(js_code)); | |
| error_type = UTF8ToString(bigintToI53Checked(error_type)); | |
| js_code += ";"; | |
| try { | |
| eval(js_code); | |
| } catch(error_thrown) { | |
| #if ASSERTIONS | |
| assert(error_thrown.name === error_type); | |
| #else | |
| assert(false); | |
| #endif | |
| return; | |
| } | |
| #if ASSERTIONS | |
| assert(false); | |
| #endif | |
| } | |
| }); | |
Xet Storage Details
- Size:
- 531 Bytes
- Xet hash:
- 49018e0f17749b65311289736f4c3c30d5cc77da0f015989a3404afbc78a977f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.