Skip to content

Commit aca39e6

Browse files
committed
Add @static tag to json.stringify and console.log
1 parent 156087a commit aca39e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/reference.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@
417417
* From <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify">the MDN entry</a>:
418418
* The JSON.stringify() method converts a JavaScript object or value to a JSON <a href="#/p5/string">string</a>.
419419
* @method stringify
420+
* @static
420421
* @for JSON
421422
* @param {Object} object :Javascript object that you would like to convert to JSON
422423
*
@@ -445,6 +446,7 @@
445446
* The Console method log() outputs a message to the web console. The message may be a single <a href="#/p5/string">string</a> (with optional substitution values),
446447
* or it may be any one or more JavaScript <a href="#/p5/object">objects</a>.
447448
* @method log
449+
* @static
448450
* @for console
449451
* @param {String|Expression|Object} message :Message that you would like to print to the console
450452
*

0 commit comments

Comments
 (0)