Repeated characters
Be creative when trying to repeat the same character:
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
s="a";while(s.length<32)s+=s;s+=s
for(s="a";s.length<32;s+=s);
for(s="aa",i=4;i--;s+=s);
s="aaaaaaaa",s+=s,s+=s;s+=s
s="aaaaaaaa",s+=s+s+s;s+=s+s+s
Array(33).join("a");
With ES6, this becomes even shorter:
'a'.repeat(32)
Note: It is unlikely that you use it to form a string, but the idea can be applied to form large numbers too