Pregunta de entrevista de Property Finder

Refactor and old es5 code into es6