-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
29 lines (26 loc) · 777 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* Array Related Vars.
*/
export const Arr = Array;
export const _Arrayprop = Arr.prototype;
export const _concat = _Arrayprop.concat;
export const _filter = _Arrayprop.filter;
export const _indexOf = _Arrayprop.indexOf;
export const _map = _Arrayprop.map;
export const _push = _Arrayprop.push;
export const _some = _Arrayprop.some;
export const _slice = _Arrayprop.slice;
export const _splice = _Arrayprop.splice;
export const _isArray = Arr.isArray;
/**
* Object Related Vars
*/
export const _obj = Object;
/**
* General Vars
*/
export const win = window;
export const doc = win.document;
export const docEle = doc.documentElement;
export const celem = doc.createElement.bind( doc );
export const body = doc.body;