decord/source/712_hashClear.js

18 lines
328 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 712
2026-07-25 08:10:48 +00:00
// Function ID: 8738
2026-07-20 16:05:17 +00:00
// Name: hashClear
2026-07-23 10:11:24 +00:00
// Dependencies: [713]
2026-07-20 16:05:17 +00:00
// Module 712 (hashClear)
export default function hashClear() {
const self = this;
2026-07-23 10:11:24 +00:00
if (require(713) /* getNative */) {
let obj = require(713) /* getNative */(null);
2026-07-20 16:05:17 +00:00
} else {
obj = {};
}
self.__data__ = obj;
self.size = 0;
};