2014-10-25 09:09:55 +11:00

6 lines
49 B
JavaScript

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