This page references all the commands available to Processing.js. Regular Javascript commands will work in Processing.js script.
The Processing.js community is working towards a 100% compatible API, allowing all native Java code to run in Javascript. Items highlighted in red are not yet implemented.
The original Processing reference can be found on the Processing website
If you encounter any problems with these commands or their documentation please file a bug