问:如何将1输出: function(){console.log(1)}()
答:
- (function(){console.log(1)}())
- 1,function(){console.log(1)}()
- +function(){console.log(1)}()
- -function(){console.log(1)}()
- ~function(){console.log(1)}()
- !function(){console.log(1)}()
- new function(){console.log(1)}()
- 0function(){console.log(1)}()
原文地址:https://www.cnblogs.com/xiaojianwei/p/10087932.html
时间: 2024-10-15 21:51:58