Simpler Lodash Templates
How to create a simpler syntax for Lodash templates.
JavaScript
var totot = null;
try{
totot = _.template('${abc}', {abcc:123});
}
catch (e) {
console.log(778899)
}
console.log(totot||77);
var totot = null;
try{
totot = _.template('${abc}', {abcc:123});
}
catch (e) {
console.log(778899)
}
console.log(totot||77);