Skip to main content
5 of 6
Fixed code...
Eliseo D'Annunzio
  • 7.5k
  • 1
  • 36
  • 73

Javascript, prints 9432 6902

(function a(){b="("+a+")()";c=0;for(i=0;i<b.length;i++){c+=b.charCodeAt(i-0)}alert(c)})()

This is the first quine solution so far, unless I am not understanding the Haskell one correctly.

Peter Olson
  • 7.8k
  • 4
  • 35
  • 63