H
H
Higrok2021-03-02 21:27:47
Node.js
Higrok, 2021-03-02 21:27:47

How to generate an array only once?

Hello!

There is a button, by clicking on which a request is sent, the request is processed on the server side, and an array is generated, obviously, it is generated as many times as the request was sent. But how can you make sure that the array is generated only once?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question