Add keys/values/entries/forEach/toString to DOMTokenList

This commit is contained in:
Karl Seguin
2025-12-08 21:31:58 +08:00
parent 4b204265c9
commit ef3ba13979
6 changed files with 331 additions and 21 deletions

View File

@@ -288,6 +288,7 @@ pub const Iterator = struct {
const Opts = struct {
async: bool = false,
null_as_undefined: bool = false,
};
fn init(comptime T: type, comptime struct_or_func: anytype, comptime opts: Opts) Iterator {