Directly translates code from python to javascript
5+
Takes any statement and returns the probabilty of it being true.
1+