“MDN” Réponses codées

MDN

// a one line comment

/* this is a longer,
 * multi-line comment
 */

/* You can't, however, /* nest comments */ SyntaxError */
Cloudy Cardinal

MDN

li { margin-left: 10px }
Unusual Unicorn

MDN

Warning: -file- is being assigned a //# sourceMappingURL, but already has one
/*
What went wrong?
A source map has been specified more than once for a given JavaScript source.

JavaScript sources are often combined and minified to make delivering them from the server more efficient. With source maps, the debugger can map the code being executed to the original source files. There are two ways to assign a source map, either by using a comment or by setting a header to the JavaScript file.
*/
X-SourceMap: /path/to/file.js.map
Sleepy Squirrel

Réponses similaires à “MDN”

Questions similaires à “MDN”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code