Processing.js node

I learned to code graphics and games of Khan Academy using Processing. js;
how is it related to the javaScript used in websites?