maxpl0it Profile picture
Principal Vulnerability Researcher at @InterruptLabs. Occasional Pwn2Owner
Mar 22 8 tweets 2 min read
@_manfp’s Firefox renderer bug is a beauty that takes advantage of an optimisation implemented just 3 months ago. Let’s break it down! In JavaScript, you can get a list of property names of an object using Object.keys(o). A common pattern to count the number of properties an object has is to use Object.keys(o).length.