/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function func_get_args () { if (!arguments.callee.caller) { try { throw new Error('Either you are using this in a browser which does not support the "caller" property or you are calling this from a global context'); // return false; } catch (e) { return false; } } return Array.prototype.slice.call(arguments.callee.caller.arguments); }
Comments
