decord/source/735_hashClear.js

20 lines
324 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 735
// Function ID: 736
// Name: hashClear
// Dependencies: [736]
// Module 735 (hashClear)
2026-08-24 06:08:38 +00:00
import getNative from "getNative" /* 736 */;
2026-07-29 08:29:29 +00:00
export default function hashClear() {
let obj = {};
2026-08-24 06:08:38 +00:00
if (getNative) {
obj = getNative(null);
2026-07-29 08:29:29 +00:00
} else {
obj = {};
}
obj.__data__ = obj;
obj.size = 0;
};