23 lines
562 B
JavaScript
23 lines
562 B
JavaScript
// Module ID: 4441
|
|
// Function ID: 4442
|
|
// Name: Get
|
|
// Dependencies: [4395, 541, 4442, 575]
|
|
|
|
// Module 4441 (Get)
|
|
import isObject from "isObject" /* 4395 */;
|
|
|
|
|
|
export default function Get(arg0, arg1) {
|
|
if (isObject(arg0)) {
|
|
if (tmp(4442)(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;
|
|
}
|
|
};
|