how to enter a line of javascript code in vscode without having to arrow out of parenthesis to add a semicolon

JavaScript
{ "key": "win+;",                 "command": "extension.trailing-semicolon",
                                  "when": "editorTextFocus" }

Source

Also in JavaScript: