Unreachable code after return statement will be warned

Published: | Categories: JavaScript | Creative Commons BY-SA 3.0


The Web Console now shows a warning for a unreachable code after return statement. This includes common misleading coding style: the return statement followed by a line break and some value meant to return.