MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / getValue

Function getValue

MathBox/parser.js:108–116  ·  view source on GitHub ↗
(values, index)

Source from the content-addressed store, hash-verified

106 }
107
108 function getValue(values, index) {
109 var parts = index.split(/\./);
110 var value = values;
111 var part;
112 while (part = parts.shift()) {
113 value = value[part];
114 }
115 return value;
116 }
117
118 Expression.prototype = {
119 simplify: function (values) {

Callers 1

parser.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected