<script>
~function a (){
console.log("1111 ");
}();
function aa (){
console.log("1111 ");
return console.log("1111 ");
}
console.log( aa () );
</script>为什么console.log( aa () );是undefined? 是什么原理造成的?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4565/viewspace-3121275/ ,如需转载,请注明出处,否则将追究法律责任。