decord/source/4760_Get.js
2026-08-26 06:04:24 +00:00

23 lines
562 B
JavaScript

// Module ID: 4760
// Function ID: 4761
// Name: Get
// Dependencies: [4714, 541, 4761, 575]
// Module 4760 (Get)
import isObject from "isObject" /* 4714 */;
export default function Get(arg0, arg1) {
if (isObject(arg0)) {
if (tmp(4761)(arg1)) {
return arg0[arg1];
} else {
let tmpResult = tmp(541);
tmpResult = new tmpResult("Assertion failed: P is not a Property Key, got " + tmp(575)(arg1));
throw tmpResult;
}
} else {
const tmp5 = new tmp(541)("Assertion failed: Type(O) is not Object");
throw tmp5;
}
};