Function is Object
<html>
<head>
<title>Function Object</title>
</head>
<body>
<script type="text/javascript">
function funcObject(x,y,z) {
for (var i = 0; i < funcObject.length; i++) {
document.writeln("argument " + i + ": " + arguments[i] + "<br />");
}
}
funcObject(1,2,3);
</script>
</body>
</html>
Related examples in the same category