我可以为 JavaScript 关键字添加别名吗?例如,我可以设置一个简写吗function to be func:
function
func
func add(a, b){ return a + b; }
或快捷方式delete:
delete
del a;
你不能。命名关键字是您无法控制的。