3 ms·
It is actually ES5: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe
by thenewestkid 9y ago
It is actually ES5: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
In a nutshell: it is used for computed properties, which compute their value on 'get' operations instead of storing them.