mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Adjust spacing in template string expressions.
This commit is contained in:
@@ -17,7 +17,7 @@ const hasOwnProperty = Object.prototype.hasOwnProperty
|
||||
*
|
||||
* const object = { 'a': 1, 'b': 2, 'c': 1 }
|
||||
*
|
||||
* invertBy(object, value => `group${ value }`)
|
||||
* invertBy(object, value => `group${value}`)
|
||||
* // => { 'group1': ['a', 'c'], 'group2': ['b'] }
|
||||
*/
|
||||
function invertBy(object, iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user