]> gerrit.simantics Code Review - simantics/district.git/blob - is-implemented.js
f3bb00883bb9785eac759c47c80553259eefebb8
[simantics/district.git] / is-implemented.js
1 'use strict';
2
3 var str = 'razdwatrzy';
4
5 module.exports = function () {
6         if (typeof str.endsWith !== 'function') return false;
7         return ((str.endsWith('trzy') === true) && (str.endsWith('raz') === false));
8 };