proposal-explicit-resource-management
proposal-explicit-resource-management copied to clipboard
Capitalize variable name
A variable reference in the await using examples has incorrect capitalization.
const asyncRes = { [Symbol.asyncDispose]() {} };
..
await using x = asyncres;
This patch aligns the reference with the declaration.
await using x = asyncRes;