Use Object static

This commit is contained in:
Da-nie-elT
2025-08-21 13:57:45 +02:00
parent 3a91ebc454
commit a92f6c9324
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@
"prefix": "forin",
"body": [
"for (const ${1:key} in ${2:object}) {",
"\tif (!${2:object}.hasOwn(${1:key})) continue;",
"\tif (!Object.hasOwn(${2:object}, ${1:key})) continue;",
"\t",
"\tconst ${3:element} = ${2:object}[${1:key}];",
"\t",