PhpStorm - JavaScript function parameter IDE error

前端 未结 2 1707
不知归路
不知归路 2021-01-17 17:08

I am trying to build a reusable JavaScript function that makes use of default parameters. However, the IDE warns me I do something wrong.

<

2条回答
  •  遇见更好的自我
    2021-01-17 17:58

    You can switch the version here:

    1. Press CTRL+ALT+S

    2 Search for JavaScript & click the select field. and then select ECMAScript 6

提交回复
热议问题