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