the-forest/client/node_modules/es-abstract/helpers/isLineTerminator.js
2024-09-17 20:35:18 -04:00

8 lines
188 B
JavaScript

'use strict';
// https://262.ecma-international.org/5.1/#sec-7.3
module.exports = function isLineTerminator(c) {
return c === '\n' || c === '\r' || c === '\u2028' || c === '\u2029';
};