The function UP_ARROW and DOWN_ARROW dosen't work at p5.js web

I’m making the game Pong on p5.js and i’m trying to move the racket using the function:

function (keyIsDown(UP_ARROW)){
yRacket -= 10;
function (keyIsDown(DOWN_ARROW)){
yRacket += 10;

But it dosen’t work, the text UP_ARROW is red and i don’t know what to do… Help, plz!