Pi approximation

by NullDev

JavaScript

for(i=p=2;i<1e6;i+=2)p*=i*i/(i*i-1);console.log(p)