[JS] ne homework Functions