Function to return the string formed by the even indexed characters of s
function partEven ( str ) { var s = " " ; for ( var i = 0 ; i < str . length ; i ++ ) { if ( i % 2 === 0 ) s += str [ i ] ; } return s ; }