O'Reilly logo
  • Edward Yasi thinks this is interesting:

function​ addFilters(filters, key, value) {​  filters.​set​(key, value);​ }​  function​ deleteFilters(filters, key) {​...

From

Cover of Simplifying JavaScript

Note

function names should be singular, e.g. addFilter, deleteFilter, since they only operate on one filter at a time, or, addToFilters, deleteFromFilters