repeat loop in javascript code example Example: do while javascript do { //whatever } while (conditional);