var sum = 0;
for ( var i = 1 ; i <= 100; i++ ) {
if ( i % 3 === 0 ) {
sum += i;
}
}
document.write(sum);
js_cc_03_challenge_for
----------------------
A [Pen](https://codepen.io/m-shinkawa/pen/YvwRMW) by [m-shinkawa](https://codepen.io/m-shinkawa) on [CodePen](https://codepen.io).
[License](https://codepen.io/m-shinkawa/pen/YvwRMW/license).