Inspectopedia
 
2024.3

'arrayOf' call can be replaced with array literal [...]

Info
New
Last modified: 03 December 2024

Reports arrayOf calls that can be replaced with array literals [...].

Examples:

After the quick-fix is applied: