JS: Deny -> block

This commit is contained in:
Asger Feldthaus
2020-12-07 10:50:01 +00:00
parent 254ac7f963
commit f96c425a72

View File

@@ -29,7 +29,7 @@
<p>
Only merge or assign a property recursively when it is an own property of the <em>destination</em> object.
Alternatively, deny the property names <code>__proto__</code> and <code>constructor</code>
Alternatively, block the property names <code>__proto__</code> and <code>constructor</code>
from being merged or assigned to.
</p>
</recommendation>
@@ -54,7 +54,7 @@
<sample src="examples/PrototypePollutingFunction_fixed.js"/>
<p>
Alternatively, deny the <code>__proto__</code> and <code>constructor</code> properties:
Alternatively, block the <code>__proto__</code> and <code>constructor</code> properties:
</p>
<sample src="examples/PrototypePollutingFunction_fixed2.js"/>