1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf 2017-08-17 20:10:39 +08:00
commit 5a448720c7

View File

@ -450,7 +450,7 @@ var y = 2;
var obj = {x: 1, y: 2};
`${obj.x + obj.y}`
// 3
// "3"
```
模板字符串之中还能调用函数。