UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

13 lines (9 loc) 251 B
'use strict'; var d = require('d') , defineProperty = Object.defineProperty; module.exports = function (T, a) { var symbol = T('test'), x = {}; defineProperty(x, symbol, d('foo')); a(x.test, undefined, "Name"); a(x[symbol], 'foo', "Get"); };