while(!done) java script code example Example: do while javascript do { //whatever } while (conditional);