Javascript语法分号[关闭]

问题描述 投票:-1回答:1

我有这个JavaScript代码,我想知道在{之后用分号究竟发生了什么。

if(buttonid=='save') {

    if (eval(formSaveCallback)) {;  //what is the use of this semicolon

        //Some code

    }

}
javascript if-statement eval
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.