Today, a programmer gave me an excel table with more than a hundred pieces of data, and asked me to copy the data one by one into the corresponding functions, such as put("gaga1", "gaga2"). In this sentence, You want me to copy it more than a hundred times, fuck. I just said you can read it yourself using java! He said that it would take more than half an hour to run using Java, and I thought to myself, fuck, you don’t know Java very well! At this time, millions of grass and mud horses were galloping in my heart!!!!!!
So I found a js method to read the data in excel, and it only took half an hour to modify it! What a fuck!
The data in execl is roughly like this:
The output effect is:
js source code: