beautifier/js-beautify

& TO & amp;

开放

#880 创建于 2016年2月20日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (1,460 个派生)batch import
good first issuetype: enhancement

仓库指标

星标
 (8,342 个星标)
PR 合并指标
 (平均合并 51天 1小时) (30 天内合并 16 个 PR)

描述

For example if you try to beautify this line:

<script>
for(i=0;i<A.sampleRate/2;i++)cB[i]=(((i*13+(((i>>3)&amp;1221)+133)*(i>>2))&amp;255)/128-.4)/(i*.00002+1)*(Math.cos(i*i*.0000003+i*0.40321+j)%0.412)*12;
</script>

The &amp; will turn into & amp;.

btw. this was taken from @notch http://doodle.notch.net/unmandelboxing/withsound.html

贡献者指南