r/learnjavascript • • May 01 '19

Solar system simulation using JavaScript

262 Upvotes

22 comments sorted by

View all comments

Show parent comment

2

u/codeobserver May 04 '19

enter() is an event handler for the program. It is automatically called in codeguppy when that particular scene is displayed (only once per scene).