arr.push is not a function code example
Example: javascript push is not a function
let test = {
name: 'NN',
email: '[email protected]'
};
test.phone = '234654234';
// result { "name": "NN", "email": "[email protected]", "phone": "234654234" }