Closed jfoutts-avenue8 closed 2 years ago
pupa('Number is {phone.{type}}', { type: 'mobile', phone: { mobile: '333', home: '444' } }) // => 'Number is {phone.mobile}' // Would be amazing if this was: // => 'Number is 333'
Maybe out of scope for 'simple' templating. I'll try es6-template-strings.
es6-template-strings