MCPcopy Index your code
hub / github.com/prototypejs/prototype / $R

Function $R

src/prototype/lang/range.js:81–83  ·  view source on GitHub ↗

section: Language * $R(start, end[, exclusive = false]) -> ObjectRange * * Creates a new [[ObjectRange]] object. This method is a convenience wrapper * around the [[ObjectRange]] constructor, but [[$R]] is the preferred alias. * * [[ObjectRange]] instances represent a range of consecut

(start, end, exclusive)

Source from the content-addressed store, hash-verified

79 * See [[ObjectRange]] for more information.
80**/
81function $R(start, end, exclusive) {
82 return new ObjectRange(start, end, exclusive);
83}
84
85var ObjectRange = Class.create(Enumerable, (function() {
86 /**

Callers 4

number.test.jsFile · 0.85
array.test.jsFile · 0.85
range.test.jsFile · 0.85
timesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected