JavaScript print variable