else while function nodejs code example Example: do while javascript do { //whatever } while (conditional);