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