function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
function a ( ) { // a.constructor = Function() var property ; this . property = function ( value ) { if ( value ) { property = value ; return property ; } else { return property ; } } } a = new a ( ) ; // a.constructor = a() var b = new a ( ) ; // Error: a is not a constructor
Source: https://habr.com/ru/post/86039/
All Articles