Skip to content

Tag: javascript

script ends despite unresolved promise

Consider this: The scripts terminates at the await and the log is never printed to sdout, I don’t understand why Answer Nothing is wrong with your code. That’s just the model of Node. If there is no pending I/O pending promises don’t prevent Node from exiting. You can schedule some I/O if yo…

React JS custom table – handling select dropdown in table

A bit of context for this table – I want to create a table where user can select an option in the dropdown on the table header and compare. So this table has two columns and each column represents the data that’s been selected. What I want to achieve is when one is selected say business in column …

How to hide value in Chart JS bar

i try to hide the value inside the bars of my bar chart. The reason for that is that i placed the value on top of the bars, and the value should not be shown twice. I tried different options to hide the value but it did not work. In the following you can see a screenshot, i want to