Confirmed users
496
edits
m (→Pause Types: Fix up implicit pause type table.) |
(→Grips: Give null a better form of grip.) |
||
Line 336: | Line 336: | ||
<i>value</i> | <i>value</i> | ||
where <i>value</i> is a string, a number, a boolean value | where <i>value</i> is a string, a number, or a boolean value. For these types of values, the grip is simply the JSON form of the value. | ||
{ "type":"null" } | |||
This represents the JavaScript <tt>null</tt> value. (This representation allows clients implemented in JavaScript to use <tt>typeof(<i>grip</i>) == "object"</tt> to decide whether the grip is simple or not, as <tt>typeof(null)</tt> is <tt>"object"</tt>.) | |||
{ "type":"undefined" } | { "type":"undefined" } |