2015-01-03 21:48:22 +11:00

6 lines
49 B
JavaScript

var obj = {
get foo() {
return 5 + 5;
}
};