function compileStyleAliases(map) {
  var result = {};

  if (map !== null) {
    Object.keys(map).forEach(function (style) {
      map[style].forEach(function (alias) {
        result[String(alias)] = style;
      });
    });
  }

  return result;
}
@param {string} expr Expression to evaluate
@param {PlainObject} context Object whose items will be added to evaluation
@returns {Any} Result of evaluated code