mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
12 lines
284 B
JavaScript
12 lines
284 B
JavaScript
import * as _ from 'underscore';
|
|
import * as R from 'ramda';
|
|
let strings = goog.require('goog.string');
|
|
|
|
function test() {
|
|
if (A.endsWith(B)) {}
|
|
if (_.endsWith(A, B)) {}
|
|
if (R.endsWith(A, B)) {}
|
|
if (strings.endsWith(A, B)) {}
|
|
if (strings.caseInsensitiveEndsWith(A, B)) {}
|
|
}
|