Volumetree interview question

Just simple es6 stuff and nodejs