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 @juancolacelli:
Unlock 2 remaining solutions by signing in and submitting your own entry