laze: Lazy Properties in JavaScript
Yesterday I released a small JavaScript module called laze for defining lazy properties in JavaScript. With laze, you can have properties of an object not be created until they are accessed.
Once you have it set up, you can access “prop” as a property instead of as a function: