var objs = {
'prop': []
}
objs['prop'].append('q');
Error: TypeError: objs.prop.append is not a function
Why this code is not working ?
Why console.log(typeof(objs['prop'])); is object not array ?
var objs = {
'prop': []
}
objs['prop'].append('q');
Error: TypeError: objs.prop.append is not a function
Why this code is not working ?
Why console.log(typeof(objs['prop'])); is object not array ?