Quote:
Originally Posted by Chompy
>_>
PHP Code:
function onCreated()
{
if (func("blah")) {
stuff();
}
}
function func(foo) {
return true;
}
VS
PHP Code:
function onCreated()
{
this.funct = function() {
return true;
};
if (this.funct("blah")) {
stuff();
}
}
is more like it 
|
Is there a point to this?