diff --git a/examples/list.js b/examples/list.js index ec614ed6..735d9225 100644 --- a/examples/list.js +++ b/examples/list.js @@ -3,12 +3,12 @@ * Module dependencies. */ -var ejs = require('../') +let ejs = require('../') , fs = require('fs') , str = fs.readFileSync(__dirname + '/list.ejs', 'utf8'); -var ret = ejs.render(str, { +let ret = ejs.render(str, { names: ['foo', 'bar', 'baz'] }); -console.log(ret); \ No newline at end of file +console.log(ret);