Hello ${world}
Migrate a JavaScript String from concatenation to ES6 interpolation.
Start file
let world = 'world'; console.log('hello ' + world); console.log('bye ' + world + '!');
End file
let world = 'world'; console.log(`hello ${world}`); console.log(`bye ${world}!`);
View Diff
2,3c2,3 < console.log('hello ' + world); < console.log('bye ' + world + '!'); --- > console.log(`hello ${world}`); > console.log(`bye ${world}!`);
Solutions by @KaizenSoze70:
Unlock 4 remaining solutions by signing in and submitting your own entry