Reputation: 1
According to the Spidermonkey hacking tips documentation, the JS Shell provides a function called dis
that dumps the bytecode of a function. However, when I try to use it, I get an error:
Code:
function main() {
console.log('Hello World');
}
dis(main);
Error:
ReferenceError: dis is not defined
Setup Details:
Upvotes: 0
Views: 28