 
      
    | You are here | blog.javascripting.com | ||
| | | | | www.hillelwayne.com | |
| | | | | What does this print? x = 1 x --> 0 Think it through, then try it in a browser console! Answer and explanation in the dropdown. Show answer It prints 1. wait wtf At the beginning of a line (and only at the beginning of a line), --> starts a comment. The JavaScript is parsed as x=1; x; // 0 The browser then displays the value of the last expression, which of course is 1. | |
| | | | | seanmcp.com | |
| | | | | A brief journey into the dangerous world of user agent sniffing | |
| | | | | wweb.dev | |
| | | | | In this post, I will show how to set up debugging for Javascript in VS Code for Node.js and for React in Firefox or Chrome... | |
| | | | | nickradford.dev | |
| | | Social preview images are used to entice viewers to read your content when they come across the image on a social network. Websites like Twitter and Facebook read meta tags on your website, and will show the linked image when the right tags are found. | ||