Ajax JavaScrit Call By Value Method Exemplo
let person = {
name: 'John',
age: 25,
};
function increaseAge(obj) {
obj.age += 1;
}
increaseAge(person);
console.log(person);
Code language: JavaScript (javascript)
Sparkling Shrew