176
rated 0 times
[
181]
[
5]
/ answers: 1 / hits: 20361
/ 10 Years ago, thu, february 27, 2014, 12:00:00
function f(){
try{
if (/*some codes*/) throw false;
return true;
}
catch(x){
if (x===false) return false;
throw x;
}
}
Here,what does throw x mean? It seems codes in catch won't run twice.
More From » javascript