About 52 results
Open links in new tab
  1. commenting out code blocks in javascript - Stack Overflow

    Aug 4, 2012 · Javascript multiline comments, also known as block comments, start with a forward slash followed by an asterisk (/*) and end with an asterisk followed by a forward slash (*/).

  2. javascript - How to comment out a block of code that already has ...

    Oct 4, 2016 · Is there a way to do something like this in Javascript? /* code /* Multiple line comment */ more code */ When I test, I often need to comment out large chunks of code that alre...

  3. What does the '@' symbol do in JavaScript multiline comments?

    May 30, 2019 · In short, the comment is documenting what a function or method does and it has slightly special syntax - it is a block comment that starts with /** instead of merely /* to differentiate it from a …

  4. How to quickly Comment and uncomment a code? - Stack Overflow

    Apr 3, 2019 · If you are using visual studio as your IDE you can use the following: Ctrl+K+C to commment and Ctrl+K+U to uncomment. If using pycharm or VS Code: Use Cntrl+/ to comment and …

  5. JavaScript Block Comments - Larry Ullman

    Sep 30, 2009 · I ran across an interesting little tidbit in a JavaScript book, I think, or online. Likely I saw it in something Douglas Crockford wrote, but couldn’t be certain. Anyway, it has to do with comments …

  6. What is the preferred method of commenting JavaScript objects and ...

    Its still a valid comment, but its special :) The actuall comment 'operator' is // The only limitation there is that its for a single line. The second example uses C style block commenting which allows for …

  7. What is the correct way of code comments in JavaScript

    What is the correct way of code comments in Javascript - is the same syntax as in Java? And which tools actually would take advantage of these comments: /* * Add an element to the group * @p...

  8. reactjs - How to use comments in React - Stack Overflow

    If you want to comment in a render block where we use JSX, you need to use the second method. If you want to comment on something in JSX you need to use JavaScript comments inside of curly braces …

  9. How can I comment multiple lines in Visual Studio Code?

    I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code. Is it possible to comment and uncomment multiple lines in Visual Studio Code using some shortcut? If …

  10. jquery - How do I comment out a block of javascript code mixed with ...

    Oct 11, 2013 · Say I have this piece of javascript/jQuery code and I want to comment out the marked code block.