mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
10 lines
198 B
HTML
10 lines
198 B
HTML
|
<!DOCTYPE html>
|
||
|
<script>
|
||
|
|
||
|
var nodeList = document.documentElement.childNodes;
|
||
|
nodeList.__proto__ = null;
|
||
|
var p = Proxy.create({getPropertyDescriptor: function() {return nodeList}});
|
||
|
p.x;
|
||
|
|
||
|
</script>
|