Array

Array

Description:
  • The native JavaScript Array constructor. BajaScript extends it to add
    extra functionality.

Source:
See:

The native JavaScript Array constructor. BajaScript extends it to add
extra functionality.

Methods

contains(o) → {Boolean}

Description:
  • Returns true if the given value is contained in this array, checking
    with strict equality (===).

Source:
Deprecated:
  • This will be removed in a future version of BajaScript. Use the native browser function Array#includes.
Parameters:
Name Type Description
o

the value to check for

Returns:
Type
Boolean