We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7948963 commit 09d27d7Copy full SHA for 09d27d7
1 file changed
src/lin/util/util.js
@@ -94,7 +94,7 @@ function getTypeOf(obj) {
94
95
function insertItem(item, arr) {
96
const { order } = item
97
- if (typeof arr[order] !== 'number') {
+ if (!arr[order]) {
98
arr[order] = item
99
return
100
}
0 commit comments