Inspectopedia
 
2024.3

Constant expression can be evaluated

Info
New
Last modified: 03 December 2024

Reports constant expressions, whose value can be evaluated statically, and suggests replacing them with their actual values. For example, you will be prompted to replace 2 + 2 with 4, or Math.sqrt(9.0) with 3.0.

New in 2018.1