hapusdt / Task1

0 stars 1 forks source link

define this function, outside of the main function, otherwise you are making a new function for each time you do it #6

Open veeol opened 4 months ago

veeol commented 4 months ago

https://github.com/hapusdt/Task1/blob/5ac07555bdf00109014b203176dcee448ea6bb49/processData.js#L11-L24

can pull this function out, do not need to redefine it every time its run