-

console

+

Console

- + @@ -95,7 +32,22 @@ class Console extends React.Component {
- {childrenToDisplay} + {this.props.consoleEvents.map((consoleEvent, index) => { + const args = consoleEvent.arguments; + const method = consoleEvent.method; + if (Object.keys(args).length === 0) { + return ( +
+ {'undefined'} +
+ ); + } + return ( +
+ {Object.keys(args).map((key) => {args[key]})} +
+ ); + })}