Skip to content

Range attribute only showing { Start: [object], End: [object] } in JS implementation #2180

Answered by P0lip
JosephSNewman asked this question in Q&A
Discussion options

You must be logged in to vote

If you use console.log to print out the result, you need to stringify the result prior to that, as console.log doesn't print objects that are deeply nested within other objects.
In other words, the update code could look as follows console.log(JSON.stringify(results, null, 2));

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@JosephSNewman
Comment options

@P0lip
Comment options

@JosephSNewman
Comment options

@P0lip
Comment options

Answer selected by JosephSNewman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants