We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e84220 commit 62f803fCopy full SHA for 62f803f
index.js
@@ -5,27 +5,27 @@ var own = {}.hasOwnProperty
5
module.exports = stringify
6
7
function stringify(value) {
8
- /* Nothing. */
+ // Nothing.
9
if (!value || typeof value !== 'object') {
10
return ''
11
}
12
13
- /* Node. */
+ // Node.
14
if (own.call(value, 'position') || own.call(value, 'type')) {
15
return position(value.position)
16
17
18
- /* Position. */
+ // Position.
19
if (own.call(value, 'start') || own.call(value, 'end')) {
20
return position(value)
21
22
23
- /* Point. */
+ // Point.
24
if (own.call(value, 'line') || own.call(value, 'column')) {
25
return point(value)
26
27
28
- /* ? */
+ // ?
29
30
31
0 commit comments