blob: 3049fed2b80de7e7f685a70815a50610c76f467d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<snippet>
<content><![CDATA[
for (${3:let} ${2:key} in ${1:obj}) if (${1:obj}.hasOwnProperty(${2:key})) {
${5:${3:let} ${4:val} = ${1:obj}[${2:key}];}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>foreachown</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
|