Template Liternals
템플릿 리터럴(Template Literals)은 특별한 힘을 가진 문자(String) 입니다.
let brand = '이듬(E.UID)'
let framework = 'React'
const course_name = `${brand}'s ${framework}`
console.log(course_name) // "이듬's React"
// ES5 ——————————————————————————————————————
var course_name = brand + "'s" + framework;
console.log(course_name); // "이듬's React"Last updated
Was this helpful?