private static void CaptureNewIndex(Table table, DynValue index, DynValue value) { if (index.String == "math") { return; // could do a throw new ScriptRuntimeException($"{index} is read-only"); } table.Set(index, value); }