2014-10-11 22:33:08 +11:00

6 lines
51 B
JavaScript

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