// function* testAlert(){ // while(true){ // let alertStr = yidle "1"; // if(typeOf alertStr === 'undefined'){ // console.log("null"); // }else{ // console.log(alertStr); // } // } // } // var test = testAlert(); function handleClick(){ console.log('sss') }
<a href="#" onclick="handleClick()" >csshi</a>