Rezultati pretraživanja
  1. prije 11 sati

    Going to try check out today - second most popular download lack week

  2. 31. sij

    Package of the day! | Debug: A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. 55,422,262 downloads a week on |

  3. 15. sij
    Prikaži ovu nit
  4. 30. pro 2019.

    I listened to the problem-solving episode on and made a list of tips that can help you when you are debugging your code.

  5. 29. ruj 2019.
  6. 12. ruj 2019.
  7. 12. kol 2019.
  8. 18. lip 2019.

    Senior developers are simply devs that have faced the same problems as beginners and learned from them.

  9. 1. svi 2019.

    🔥 OBJECT DESTRUCTURING ✅ ES6 allows us to destrucure an object. This essentially allows us to convert the properties of an object into local variables

  10. A common task in JavaScript is to iterate through the contents of an array. One way to do that is with a for loop. This code will output each element of the array to the console: var arr = [10,9,8,7,6]; for (var i = 0; i < arr.length; i++) { console.log(arr[i]); }

  11. The && and || operators use short-circuit logic, which means whether they will execute their second operand is dependent on the first. This is useful for checking for null objects before accessing their attributes: var name = cachedName || (cachedName = getName());

  12. 2. sij 2019.

    Easy example of how to use filter and map to get properties out of an array of objects 😉

  13. 🙏Please! 🙏 Please! STOP doing overwork with boolean return It can be made with only one line 😎

  14. 9. kol 2018.

    , Always remember to re-assign event to new elements when you add new one in the DOM

  15. 9. kol 2018.

    Example of cross-browser date format conversion, usage of Babel (promises with async/await, object rest spread). Source Code:

  16. 18. srp 2018.

    Mr. Galvez provides 7 tips to help you better manage your large Nuxt projects after just one year of using on large codebases.

  17. 18. srp 2018.

    Do you know typeof null => "object" is a long-standing bug in JS, but one that is likely never going to be fixed. Too much code on the Web relies on this bug and thus fixing it would cause a lot more bugs.

  18. 16. srp 2018.

    Let's style console.log out in the browser console.

  19. 5. lip 2018.

    Don't want your inputs to have that yellow background when users autofill your form?

    //Don't want your inputs to have that yellow background when users autofill your form? 

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #222;
  transition: background-color 100000000s;
  -webkit-animation: 1ms void-animation-out 1s;
}
  20. 29. svi 2018.

    So you want to write good code? It only takes 2 steps: First, make it work. Then, you refactor it.

Č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.