Get Input Date Javascript Methods Arrays Meaning