// For ofletlogItems=ffor.of.pipe((item)=>console.log('item is: '+item));letforOf=ffor.of.pipe((item)=>item+1);letresult=forOf.merge(logItems).with([1,2,3,4]);console.log(result);// For inletforIn=ffor.in.pipe((key,value)=>{console.log(key+' is: '+value)return{key:key,value:value};});letresult2=forIn.with({name:'Manolo',lastname:'Edge'});console.log(result2);
Nice, I'll add a bit. It's a little experiment I did back in the day and now I think is not very useful:
You can use it as follows:
This outputs the following:
Kinda weird, looking at it now :P
Omg. I like that :P Should I use this :P
Feel free, I was just messing around, although it might have some cool usage. Let me know if you end up using it :)