Hello when i use VSCode for javascript sometimes intellisense doesn't show any suggestion. It's same for other functions like for example.map, .filter vs.. Why is that? I'am new on VSCode. Thanks to everybody for help
Its because how you're declaring your variable. VSCode doesn't know what kind of variable its going to be because you haven't defined it a default value.
Assign your variable as let yourVar = [];
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.