Use of Lodash or native JavaScript