fix console.log issue in partial application article