21 lines
537 B
JavaScript
21 lines
537 B
JavaScript
// Module ID: 4484
|
|
// Function ID: 4485
|
|
// Name: Get
|
|
// Dependencies: [4438, 541, 4485, 575]
|
|
|
|
// Module 4484 (Get)
|
|
|
|
export default function Get(arg0, arg1) {
|
|
if (require(4438) /* isObject */(arg0)) {
|
|
if (tmp(4485)(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;
|
|
}
|
|
};
|