小编jt.*_*jt.的帖子

什么是Linux相当于DOS暂停?

我有一个Bash shell脚本,我想暂停执行,直到用户按下一个键.在DOS中,使用"pause"命令可以轻松完成.我可以在脚本中使用Linux等价物吗?

linux bash shell

229
推荐指数
5
解决办法
17万
查看次数

microsoft edge 中的对象传播运算符抛出错误

我有代码:

let a = {a: 'a', b: 'b'};
let b = {c: 'c', d: 'd'};
let c = {...a, ...b};
Run Code Online (Sandbox Code Playgroud)

chrome / firefox /... 中它的 display: c = {a: 'a', b: 'b', c: 'c', d: 'd'},但在microsoft edge 中它抛出 error Expected identifier, string or number

我尝试使用cdn.polyfill.iohttps://babeljs.io/docs/en/babel-polyfill但没有运气。

我可以做些什么来在microsoft edge 中运行我的webpack代码?

javascript object spread-syntax microsoft-edge

2
推荐指数
1
解决办法
2101
查看次数

标签 统计

bash ×1

javascript ×1

linux ×1

microsoft-edge ×1

object ×1

shell ×1

spread-syntax ×1