<% var line; while (line = yield getLine()) { if (Math.random() > 0.5) { %> <%= line %>
<% } else { %> <%= line %>
<% } } %>