/** * Output log. * * @param {String} message Message text. */ function func(message) { console.assert(typeof message === "string", 'Invalid JSDoc: typeof message === "string"'); console.log(message); } ã«å¤æããããåãã§ãã¯ãå½ãªãã°ããã®æ å ±ã assert ã¨ãã¦åºåãFirefox ã Chrome ã®éçºè ãã¼ã«ã§ããã°é¢æ°ã®å¼ã³åºã㨠assert ç®æãã³ã³ã½ã¼ã«ãã確èªã§ããã®ã§ä¸æ£ãªå¤ãæå®ããå¦çãä¿®æ£ããããã®ãã³ãã«ãªãã ç°å¢æ§ç¯ã¨æ³¨æç¹ jsdoc-to-assert ã¯æ¬ä½ã¨ Babel plugin/preset çãæä¾ããã¦ãããplugin ã Bab
{{#tags}}- {{label}}
{{/tags}}