We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17367f6 commit 473f1a0Copy full SHA for 473f1a0
src/helpers.js
@@ -4,7 +4,7 @@ function createHelpersNamespaceObject(helpers, options_ = {}) {
4
const { comparator, ...defaults } = { __proto__: null, ...options_ }
5
const helperNames = Object.keys(helpers).sort()
6
const propNames = [
7
- ...new Set(Object.values(helpers).map(Object.keys).flat())
+ ...new Set(Object.values(helpers).flatMap(Object.keys))
8
].sort(comparator)
9
const nsObject = Object.create(null)
10
for (let i = 0, { length } = propNames; i < length; i += 1) {
0 commit comments