// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file.
/*--- info:| WhenFunctioniscalledaspartofanewexpression,itisaconstructor: itinitialisesthenewlycreatedobject es5id:15.3.2_A1 description:> Checkingtheconstuctoroftheobjectthatiscreatedasanew Function
---*/
var f = newFunction;
assert.sameValue(f.constructor, Function, 'The value of f.constructor is expected to equal the value of Function'); assert.notSameValue(f, undefined, 'The value of f is expected to not equal ``undefined``');
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.