The javascript I borrowed was this:
function instanceOf(object, constructor) while (object != null) { if (object == constructor.prototype) return true; object = object.__proto__; } return false; }
Technorati Tags |
Javascript [feed], Attribute [feed], Instanceof [feed], Constructor [feed], Proto [feed], Prototype [feed], Opml [feed], Object Model [feed] |
Wikipedia Documents |
Opml ,Oml ,Dave Winer ,Outliner ,Prototype Pattern ,Constructor ,Ajax (programming) ,Xmlhttp ,Dynamic Html |