Clean Code concepts adapted for JavaScript