Me learning react like an absolute chungus
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- function sendRequest(data, cb) {
- // ... sending a request with "data"
- return cb({ data: 'Hi there!' });
- }
- sendRequest('Send this!', function (response) {
- console.log(response);
- return true;
- });
|