loading
main.js
1
2
3
4
5
6
7
8
9
const obj = {
  name: 'mari',
  speak: function() {
    console.log(this.name);
  },
};
const other_obj = { name: 'nane' };
obj.speak.call(other_obj);
Native Browser JavaScript