Shuffle array in place. Source: https://stackoverflow.com/a/6274381/616095
(array)
array
:
Shuffled
Filter array by unique values. Source: https://stackoverflow.com/a/14438954/616095
(array)
array
:
Without duplicates
Return a boolean value that indicates the overlapping status between two DOMRect.
boolean
:
Overlapping status
Return a boolean value that indicates whether the pointer is in the given bounding rectangle.
(MouseEvent)
boolean
:
Pointer is in the given bounding rectangle
Get the viewport width.
number
:
Viewport width
Get the viewport height.
number
:
Viewport height
Consistent cross-browser querySelectorAll
(on Edge you can’t use .forEach
on a NodeList).
array
:
Of elements
kebab-case to PascalCase.
(string)
string
:
PascalCase
Return the number included in a string.
(string)
number
:
Given string as a number
PascalCase to kebab-case.
(string)
string
:
kebab-case