todo note on optimizers vs endowments
MODIFY
shim/src/evaluators.js
shim/src/evaluators.js
@@ -21,6 +21,9 @@ import { assert, throwTantrum } from './utilities';
const identifierPattern = /^[a-zA-Z_$][\w_$]*$/;
+// todo: think about how this interacts with endowments, check for conflicts
+// between the names being optimized and the ones added by endowments
+
function getOptimizableGlobals(safeGlobal) {
const constants = [];
const descs = getOwnPropertyDescriptors(safeGlobal);

todo note on optimizers vs endowments