mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-04 02:51:19 +08:00
DISABLE_THIRD_PARTY_CHECK=new npm module causes package-lock change We can get rid of a custom script and use ESLint for these rules. Additionally this means editors will highlight the issue in the editor. Change-Id: I552b52e7f07b4e7430b3f685dbc3b5fad36ffff2 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2052167 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
25 lines
733 B
JavaScript
25 lines
733 B
JavaScript
var invoker = /*#__PURE__*/require('./invoker');
|
|
|
|
/**
|
|
* Returns a string made by inserting the `separator` between each element and
|
|
* concatenating all the elements into a single string.
|
|
*
|
|
* @func
|
|
* @memberOf R
|
|
* @since v0.1.0
|
|
* @category List
|
|
* @sig String -> [a] -> String
|
|
* @param {Number|String} separator The string used to separate the elements.
|
|
* @param {Array} xs The elements to join into a string.
|
|
* @return {String} str The string made by concatenating `xs` with `separator`.
|
|
* @see R.split
|
|
* @example
|
|
*
|
|
* const spacer = R.join(' ');
|
|
* spacer(['a', 2, 3.4]); //=> 'a 2 3.4'
|
|
* R.join('|', [1, 2, 3]); //=> '1|2|3'
|
|
*/
|
|
|
|
|
|
var join = /*#__PURE__*/invoker(1, 'join');
|
|
module.exports = join; |