lib/j2119/constraints.js
function strMapToObj (strMap) {
  const obj = { }
  for (const [ k, v ] of strMap) {
    // We don’t escape the key '__proto__'
    // which can cause problems on older engines
    obj[k] = v
  }
  return obj
}
function strMapToObj (strMap) {
  const obj = { }
  for (const [ k, v ] of strMap) {
    // We don’t escape the key '__proto__'
    // which can cause problems on older engines
    obj[k] = v
  }
  return obj
}
FieldValueConstraint