I have this snippet of code
function(memo, value, key) {
    if (!!value) {
      memo.push({
        'property': 'loopbackFilter',
        'value': {
          key : {
            'like' : '%' + value + '%'
          }
        }
      });
    }
    return memo;
  }
Sublime Text says that "key" parameter is not being used, and in fact the resulting JSON object is
"where": {
  "key": { <--- key is literally "key"
    "like": "%value%" (VALUE is an actual value, so it works here)
  }
}
Why does this happen?
 
    