@future
Nothing here yet.
Nothing here yet.
No blogs yet.
i wrote this but i know its so wrong < script > function card ( suit,face ) { this .suit= suit; this .face= face; this .info= function ( ) { return " This is card of face " + this .face + " and a/an " + this .suit + " face " ; } this .setinfo= function ( value ) { var faceArray=[ "ace" , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , "king" ]; var suitArray= [ 'diamonds' , 'hearts' , 'spades' , 'clubs' ]; var message= "" ; this .message=message; this .faceArray= new face; this .suitArray= new suit; for (i in this .faceArray && j in this .suitArray){ message+= "This is card" + facArray[i] + 'of' + suitArray[j] ; } this .message= new value; } } var value= new card( 1 , 2 );