in your Q7 the "solution" does not perform the same actions as the first one, you're ignoring the arguments, and using console.log instead of res.send .. I'd fail you for that answer
also LTS is not a Node.js term, it's a generic term .. you will find it in use in linux distros and many other places
oh and I massively disagree on these difficulty ratings
Indeed Q7 answer's is totally wrong and don't do the same as the first version.
if "someOtherFunction" throw it will print and continue with execution of "somethingElseFunction".
The second answer is even more wrong as it includes a try/catch
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
in your Q7 the "solution" does not perform the same actions as the first one, you're ignoring the arguments, and using console.log instead of res.send .. I'd fail you for that answer
also LTS is not a Node.js term, it's a generic term .. you will find it in use in linux distros and many other places
oh and I massively disagree on these difficulty ratings
Indeed Q7 answer's is totally wrong and don't do the same as the first version.
if "someOtherFunction" throw it will print and continue with execution of "somethingElseFunction".
The second answer is even more wrong as it includes a try/catch