Comments are a clue
JSDoc comments, like many comments in software, can be a great clue for those who want to refactor their program. Take this common example, variations of which can be found easily online: /** * Check input object is a string * @param {Object} s */ function check(s) { return typeof s === ‘string’; } If […]