Danack/PHP-to-Javascript

Encapsulate tests.

Danack opened this issue · 1 comments

They're currently all running in the global scope.

This means it's really easy to break stuff - e.g. assigns a value to $count overwrites the count() function.