Add methods to JSGlobalObject to declare vars, consts, and functions.
Created attachment 209317 [details] Fix
Committed revision 154434.