foo: ES6ify (broken)

Error: Invalid access to private name