loop command js code example Example: javascript loop statement do { code to be executed } while (condition)