Javascript - Two Haikus
function factor (a) { // function factor a
if(!a === 0) { return 1 || // if not a isreturn zero1 returnor
a || 0a ||& 1;17} // a or zero orand oneseventeen
else if (a + 1){ // else if a plus one
return a * factor // return a into factor
(a + ( - 1) ) }} // a plus minus one
I am not a native speaker. So, I used a dictionary to count the syllables. Hopefully, it's good enough. Any feedback is welcome :)