Just me being selfish tomek...but you don't happen to have a place where you list/save all of these awesome tips do you?pic.twitter.com/HbFW4m33sh
-
-
-
Ha, great question! And you're not the first one that asked that already too
, but yeah, this collection is getting pretty hefty - begs having it's own site. As soon as I finish that, I will let you know, promise!
In the meantime I can only recommend https://twitter.com/search-advanced pic.twitter.com/u0qa8o2EgB
Kraj razgovora
Novi razgovor -
-
-
Thanks for this tips! Does this work by raw JS on any browser? Need webpack or otherwise tools to compile?
-
It pretty much works for IE11 and up. For older browsers you do need to transpile (with Babel or TypeScript) You can find browser compatibility info here:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set#Browser_compatibility …
Kraj razgovora
Novi razgovor -
-
-
Does not work in typescript.

-
Not possible - everything that works in JavaScript, and is not just a bad idea, should work in TypeScript :)pic.twitter.com/iz7PnlqCTB
- Još 1 odgovor
Novi razgovor -
-
-
Does it work on object arrays?
-
Only if the objects share the reference.
- Još 1 odgovor
Novi razgovor -
-
-
Used this to see if each entry in a list is unique. new Set(ext).length == ext.length
-
Set has a size property instead of length, sometimes I forgot it too :-) new Set(ext).size === ext.length
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
· writes about