@manwithtwowatches an empty string '' is falsey in JavaScript, so perhaps `return value ? …` would be better here?