Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Add Imaginary Property To Object

 class Person
	 {
	
	constructor()
		 {
	this.post = function()
			 {
				 var x = new String("XXXXXXX");	 	
				 x.y = "######";	
				 return x;
			 }	 	

		 } 	
		
	 }
 
PREVIOUS NEXT
Tagged: #Add #Imaginary #Property #To #Object
ADD COMMENT
Topic
Name
1+5 =