2014-10-18 15:42:36 +11:00

6 lines
49 B
JavaScript

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