ThinkPHP6在调试模式下, 用PHP输出js文件, 却带了很多调试代码的解决方法
{{ time }}
解决方法是使用exit来输出, 而不使用echo输出, 示例代码如下
exit($js);