@ArtOfCode I'm glad I could help. :-) The most common thing to use that prototype function for is to put a function into a
<script>
tag. If interested, I have a generalized version of doing that
here, which allows passing most types of arguments to the function (notably including
Date
,
RegExp
and
Function
). If desired, it's also MIT licensed
here.