has-same-range.js 144 B

1234567
  1. 'use strict';
  2. module.exports = (node1, node2) =>
  3. node1
  4. && node2
  5. && node1.range[0] === node2.range[0]
  6. && node1.range[1] === node2.range[1];