Firefox can not print objects with circular references, and an external library is needed to print deeply nested object structures.
>> JSON.stringify(web3, null, 2)
TypeError: cyclic object value
eval
+ fetch
is the easies way to load a library, such as lodash
into console scope.
>> fetch('https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js')
.then(response => response.text())
.then(text => eval(text))
>> _.VERSION
"4.17.15"