async function pushNewHighscore(score) { const req = await fetch('/createhighscore', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ score }) }); return req.status; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)