feat: add new file
This commit is contained in:
7
frontend/node_modules/d3-array/src/descending.js
generated
vendored
Normal file
7
frontend/node_modules/d3-array/src/descending.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function descending(a, b) {
|
||||
return a == null || b == null ? NaN
|
||||
: b < a ? -1
|
||||
: b > a ? 1
|
||||
: b >= a ? 0
|
||||
: NaN;
|
||||
}
|
||||
Reference in New Issue
Block a user