Adjust spacing in template string expressions.

This commit is contained in:
John-David Dalton
2017-04-08 22:41:48 -07:00
parent 303502efa7
commit d10b44bdef
29 changed files with 90 additions and 90 deletions

View File

@@ -17,7 +17,7 @@
* // => 'Hi Barney'
*/
function replace(...args) {
const string = `${ args[0] }`
const string = `${args[0]}`
return args.length < 3 ? string : string.replace(args[1], args[2])
}