Subj : Rhino - How to return a function property from current stope, not prototype To : netscape.public.mozilla.jseng From : Ryan Breen Date : Fri Aug 27 2004 11:13 am Greetings all, I am trying to parse a bit of script that does the following: function writeSomeStuff() { var d = document.writeln; d("some stuff to write") } When I run this, the document.writeln call returns the function property of my document.prototype, not the function of the current document. How can I avoid this? Thanks in advance, Ryan .