function printPiDigits() { Math.PI.toString().split('').forEach(d => { console.log(d); }); } printPiDigits();