Message from JavaScript discussions
June 2018
β Do you know Nodejs ?. If yes join the team in the new exchanger from swiss. if you interest please send their email burexexchangegmail.com.
Do you know Nodejs ?. If yes join the team in the new exchanger from swiss. if you interest please send their email burexexchangegmail.com.
β > Join
> Spam something in poor English
> ...
> Profit??
β I made bookstore app in angular . each books description has one button at the end add to library or remove from library. So before displaying any books description I do check if that book(object) is available in array of books(array of objects) which I already have added in library. If its present in array I display remove from library button or vice versa.
Probably this isn't best approach to make something like that but my whole code ain't less than pile of shit so I just decided to compare two objects π
β You should probably store some book IDs and just compare those
β But I use data stored in those objects to render page so that I don't have to make api calls again and again :3
β Store IDs in the objects too
β Yeah thats what I did :D
Instead of comparing whole objects I am comparing ids only
β Great
β Thanks m8
β Yo whats up, what a misery, Firefox + Tor == Ftorfox? why dont they just fix the debuggerπͺ
β Wait what