GitLab Interview Question

What would be a reason to use ES6 classes?