Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript object of objects

numobj:any={}

ngOnInit(){
numobj["positive"]={
	"ODD":[1,3,5,7],
    "event":[2,4,6,8]
}
console.log(numobj)
}
 
PREVIOUS NEXT
Tagged: #typescript #object #objects
ADD COMMENT
Topic
Name
3+5 =