Package

io.scalajs

collection

Permalink

package collection

Visibility
  1. Public
  2. All

Type Members

  1. trait Iterator[+A] extends Object

    Permalink

    The iterable protocol allows JavaScript objects to define or customize their iteration behavior, such as what values are looped over in a for..of construct.

    The iterable protocol allows JavaScript objects to define or customize their iteration behavior, such as what values are looped over in a for..of construct. Some built-in types are built-in iterables with a default iteration behavior, such as Array or Map, while other types (such as Object) are not.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols

  2. class JsArray[A] extends Object with JsCollection[A]

    Permalink

    An array is an ordered collection of data (either primitive or object depending upon the language).

    An array is an ordered collection of data (either primitive or object depending upon the language). Arrays are used to store multiple values in a single variable. This is compared to a variable that can only store one value.

    Each item in an array has a number attached to it, called a numeric index, that allows you to access it. In JavaScript, array's start at index zero and can be manipulated with various methods.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

  3. trait JsCollection[A] extends Object

    Permalink

    JavaScript Collection

    JavaScript Collection

    Annotations
    @RawJSType() @native()

Value Members

  1. object Iterator

    Permalink

    Iterator Companion

  2. object JsArray extends Object

    Permalink
    Annotations
    @native() @JSName( "Array" )
  3. object JsCollection

    Permalink

    JsCollection Companion

Ungrouped