每当我在Visual Studio Code中打开终端时,我都会得到一个bash shell.我想将CMD添加为第二个shell.为此,我查看了VS Code文档并找到了以下命令:
CTRL+ SHIFT+`
但它只打开第二个bash shell.是否有在集成终端中打开CMD的快捷方式,而不是在外部控制台中打开它?

而不是数字添加此代码正在进行字符串连接.如何在提示字段中指定输入的类型(例如:number,string).
var jonage = prompt("enter the johns age");
var jonHeight = prompt("enter the johns height");
var jonScore = jonHeight + jonage * 5;
console.log(jonScore);
Run Code Online (Sandbox Code Playgroud)