Add related function for each module. [closes #2932]

This commit is contained in:
Bert Verhelst
2017-01-16 01:27:42 +01:00
committed by John-David Dalton
parent b856263af6
commit 401016d260
85 changed files with 85 additions and 16 deletions

View File

@@ -13,6 +13,7 @@ import toString from './toString.js';
* @param {number} [position=string.length] The position to search up to.
* @returns {boolean} Returns `true` if `string` ends with `target`,
* else `false`.
* @see includes, startsWith
* @example
*
* endsWith('abc', 'c');