emscript - vuejs - js 定义多行字符串 multiple line string

访问量: 145

参考: https://stackoverflow.com/questions/805107/creating-multiline-strings-in-javascript

a = `
line1 
line2 
line3 
`

也可以使用 interpolation: 

a = 'jim'
b = `
hihihi ${jim},
good morning! 
`

订阅/RSS Feed

Subscribe

分类/category