8 lines
144 B
JavaScript
8 lines
144 B
JavaScript
|
'use strict';
|
||
|
|
||
|
module.exports = (node1, node2) =>
|
||
|
node1
|
||
|
&& node2
|
||
|
&& node1.range[0] === node2.range[0]
|
||
|
&& node1.range[1] === node2.range[1];
|