Javascript vscode:常量值加下划线为红色
常量值被VS代码用红色下划线标出,我无法确定问题所在。有什么建议吗 我的代码没有按预期运行,因为它在搜索时不会从前端的后端返回响应 这是一张VS代码告诉我的照片,但没有“重大”错误 更换:Javascript vscode:常量值加下划线为红色,javascript,visual-studio-code,Javascript,Visual Studio Code,常量值被VS代码用红色下划线标出,我无法确定问题所在。有什么建议吗 我的代码没有按预期运行,因为它在搜索时不会从前端的后端返回响应 这是一张VS代码告诉我的照片,但没有“重大”错误 更换: type="module"> const response = await fetch("/lookup/" + 'user input').then(result =>result.json()) type=“模块”> 作者: 您在vscode中是否
type="module"> const response = await fetch("/lookup/" + 'user input').then(result =>result.json())
type=“模块”>
作者:
您在vscode中是否有扩展名。。?代码是否按预期运行?请分享一个截图
<script>
type="module">
<script type="module">