Unreachable code after return statement will be warned

Published: | Categories: JavaScript

Description

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.

References