写一段最短的代码,用上js所有关键字

来自tomtalk
跳转至: 导航搜索

一段最短的代码,用上js所有关键字

new function () {
    do break;
    while (typeof delete this);
    for (var a; void 0;) continue
    if (null) with(0) try {
        switch (1 in 1 instanceof 1) {
        case false:
        default:
        }
        throw true
    } catch (a) {} finally {} //console.log("可以运行到这里")
    return;
};