tag:blogger.com,1999:blog-34454975.post116290084482387081..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: not yield and the shortest Fibonacci functionAndrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-34454975.post-37925648390180962702009-10-27T01:29:33.804+01:002009-10-27T01:29:33.804+01:00Shorter:
function fib(){for(let i=0,j=1;;[i,j]=[j...Shorter:<br /><br />function fib(){for(let i=0,j=1;;[i,j]=[j,i+j])yield i};authorhttps://www.blogger.com/profile/02713399383747357064noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1162931410453858292006-11-07T21:30:00.000+01:002006-11-07T21:30:00.000+01:00I just come back and anyone viewed the title error...I just come back and anyone viewed the title error ?<BR/><BR/>It was wrong, it was the shortest Fibonacci generator ... and sorry :DAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.com