object, console, math, function, json should follow the same pattern as String, Regex below
https://github.com/jasonwilliams/boa/blob/master/src/lib/realm.rs#L55-L59
Here is an example of Boolean being changed to create_constructor
https://github.com/jasonwilliams/boa/commit/e35b66b41213cf519e85353b83b0952a95c4eda0#diff-9c85558881ecea17184e97fb52b0882b
I'd be interested in having a go at this.
Most helpful comment
I'd be interested in having a go at this.