var instanz_objekt = new meinObject(); document.write(instanz_objekt.funk(12)); function meinObject () { this.funk = doIt; } function doIt (zahl) { return "Zahl: "+zahl*2; }