File Author Link Date export function once ( privateKey ? ) { return function ( target , propertyKey , descriptor ) { let getter = descriptor . get ; if ( ! privateKey ) { privateKey = Symbol ( propertyKey ) ; } descriptor . get = function ( ) { return ( this [ privateKey ] = this [ privateKey ] || getter . call ( this ) ) ; } ; } ; }