/** * Created by Bobi on 24/06/2016. */ function printLines (str) { let x = console.log(str) while (x != "Stop") { console.log(x); } }