mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Adjust spacing in template string expressions.
This commit is contained in:
@@ -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])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user