Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f2d3b2

Browse filesBrowse files
deploy: d4189ab
1 parent b2d633e commit 4f2d3b2
Copy full SHA for 4f2d3b2

File tree

Expand file treeCollapse file tree

2 files changed

+6
-22
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-22
lines changed

‎dist/immutable.es.js

Copy file name to clipboardExpand all lines: dist/immutable.es.js
+3-11Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4884,17 +4884,9 @@ var Range = /*@__PURE__*/(function (IndexedSeq) {
48844884
Range.prototype.constructor = Range;
48854885

48864886
Range.prototype.toString = function toString () {
4887-
if (this.size === 0) {
4888-
return 'Range []';
4889-
}
4890-
return (
4891-
'Range [ ' +
4892-
this._start +
4893-
'...' +
4894-
this._end +
4895-
(this._step !== 1 ? ' by ' + this._step : '') +
4896-
' ]'
4897-
);
4887+
return this.size === 0
4888+
? 'Range []'
4889+
: ("Range [ " + (this._start) + "..." + (this._end) + (this._step !== 1 ? ' by ' + this._step : '') + " ]");
48984890
};
48994891

49004892
Range.prototype.get = function get (index, notSetValue) {

‎dist/immutable.js

Copy file name to clipboardExpand all lines: dist/immutable.js
+3-11Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4890,17 +4890,9 @@
48904890
Range.prototype.constructor = Range;
48914891

48924892
Range.prototype.toString = function toString () {
4893-
if (this.size === 0) {
4894-
return 'Range []';
4895-
}
4896-
return (
4897-
'Range [ ' +
4898-
this._start +
4899-
'...' +
4900-
this._end +
4901-
(this._step !== 1 ? ' by ' + this._step : '') +
4902-
' ]'
4903-
);
4893+
return this.size === 0
4894+
? 'Range []'
4895+
: ("Range [ " + (this._start) + "..." + (this._end) + (this._step !== 1 ? ' by ' + this._step : '') + " ]");
49044896
};
49054897

49064898
Range.prototype.get = function get (index, notSetValue) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.