Benign repos Download

awaitUsingDeclarationsInForOf.1(target=es5).js

Source contains low-bit mask syntaxretry loop wrapping try-catch (while loop)
SHA-256cc4bdceff9745476cb0596472cc6e16a0f803df6d2b14d34435b97d8e81e9656

Evidence

English function-word token "for" lines 3–13
3:23… ationsInForOf.1.ts]
4async function main() {
5 for (await using d1 of [{ async [Symbol.asyncDispose]() {} }, { [Symbol.dispose]() {} }, null, undefined]) {
6 }
7}
8
9
10//// [awaitUsingDeclarationsInForOf.1.js]
11"use strict";
12var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13 function adopt(value) …
Source contains low-bit mask syntax lines 21–23
21:63… Arg, body) {
22 var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
23 return g.next = verb(0), …
Function body returns this lines 23–26
23:65… verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24 function verb(n) { return function (v) { return step([n, v]); }; }
25 function step(op) {
26 if (f) throw n …
retry loop wrapping try-catch (while loop) lines 75–81
75:10…
76 var r, s = 0;
77 function next() {
78 while (r = env.stack.pop()) {
79 try {
80 if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
81 …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.