标签:amp error: code [] function color rip div turn
1 <script> 2 f = function () { 3 return true 4 }; 5 g = function () { 6 return false 7 }; 8 (function () { 9 if (g() && [] == ![]) { 10 f = function f() { 11 return false; 12 }; 13 function g() { 14 return false 15 }; 16 } 17 })(); 18 alert(f()); //true or false? 19 </script>
结果:
Uncaught TypeError: g is not a function
标签:amp error: code [] function color rip div turn
原文地址:http://www.cnblogs.com/coldfishdt/p/6082316.html