type Dictionary = {
[key: string]: any
}
let indexedArray: {[key: string]: number}
let indexedArray: {[key: string]: number} = {
foo: 123,
bar: 456
}
indexedArray['foo'] = 12;
indexedArray.foo= 45;
numobj:any={}
ngOnInit(){
numobj["positive"]={
"ODD":[1,3,5,7],
"event":[2,4,6,8]
}
console.log(numobj)
}