do … while

do … while

Description

do … while (mixed condition)

Parameters

Name Description Type Default Optional
condition mixed No

Examples

Example #1 – do … while example
var i = 1; do { console.log('Iteration round: ' + i++); } while (i <= 5);

External references