Bright.js
(11,411
byte(s))DOMOperation.js
(13,450
byte(s))* The minified version is ECMAScript 3-compliant.
Bright.js
(11,339
byte(s))DOMOperation.js
(13,619
byte(s))* The minified version is ECMAScript 3-compliant.
Bright.js
Item | Value type | Value | Is static? (no this in function body) |
Has fixed length? (no arguments in function body) |
---|---|---|---|---|
Bright |
object |
an Object instance |
/ | / |
Bright.relinquish |
function |
a function expression | yes | yes (0 ) |
Bright.useRequireJS |
boolean |
false or true
|
/ | / |
Bright.isInteger |
function |
a function expression | yes | yes (1 ) |
Bright.isNotInfinity |
function |
a function expression | yes | yes (1 ) |
Bright.isNormalNumber |
function |
a function expression | yes | yes (1 ) |
Bright.forceToInteger |
function |
a function expression | yes | yes (1 ) |
isUint32 |
function |
a function expression | yes | yes (1 ) |
Bright.isUint32 |
function |
isUint32 |
(refer to prior description) | (refer to prior description) |
isSint32 |
function |
a function expression | yes | yes (1 ) |
Bright.isSint32 |
function |
isSint32 |
(refer to prior description) | (refer to prior description) |
Bright.isInt32 |
function |
isSint32 |
(refer to prior description) | (refer to prior description) |
Bright.roundInteger |
function |
a function expression | yes | yes (3 ) |
Bright.toUint32 |
function |
a function expression | yes | yes (1 ) |
Bright.isPlainObject |
function |
a function expression | yes | yes (1 ) |
Bright.isArrayLike |
function |
a function expression | yes | yes (1 ) |
toLength |
function |
a function expression | yes | yes (1 ) |
Bright.toLength |
function |
toLength |
(refer to prior description) | (refer to prior description) |
Bright.sameValueZero |
function |
a function expression | yes | yes (2 ) |
createArrayIterator |
function |
a function expression | yes | yes (2 ) |
Bright.createArrayIterator |
function |
createArrayIterator |
(refer to prior description) | (refer to prior description) |
Bright.arrayLikeDeduplicate |
function |
a function expression | yes | yes (1 ) |
Bright.arrayLikeCountElementOccurrence |
function |
a function expression | yes | yes (2 ) |
Bright.arrayLikeFindElementOccurrences |
function |
a function expression | yes | yes (2 ) |
Bright.mergeObject |
function |
a function expression | yes | yes (5 ) |
Bright.arrayLikeMethodsImplementation |
function |
a function expression | yes | no (4 ) |
Bright.enumerateObjectProperties |
function |
a function expression | no | yes (2 ) |
Bright.enumerateObjectOwnProperties |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeIndexOf |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeLastIndexOf |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeEvery |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeSome |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeForEach |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeMap |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeFilter |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeReduce |
function |
a function expression | no | no (2 ) |
Bright.arrayLikeReduceRight |
function |
a function expression | no | no (2 ) |
Bright.arrayLikeCopyWithin |
function |
a function expression | no | yes (3 ) |
Bright.arrayLikeEntries |
function |
a function expression | no | yes (0 ) |
Bright.arrayLikeFill |
function |
a function expression | no | yes (3 ) |
Bright.arrayLikeFind |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeFindIndex |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeKeys |
function |
a function expression | no | yes (0 ) |
Bright.arrayLikeValues |
function |
a function expression | no | yes (0 ) |
Bright.arrayLikeIncludes |
function |
a function expression | no | yes (2 ) |
IteratorResult |
function |
a function expression | no | yes (2 ) |
Bright.IteratorResult |
function |
IteratorResult |
(refer to prior description) | (refer to prior description) |
IterableIterator |
function |
a function expression | no | no (6 ) |
Bright.IterableIterator |
function |
IterableIterator |
(refer to prior description) | (refer to prior description) |
ArrayIterator |
function |
a function expression | no | yes (0 ) |
Bright.ArrayIterator |
function |
ArrayIterator |
(refer to prior description) | (refer to prior description) |
Bright.exportStaticMethods |
function |
a function expression | yes | yes (4 ) |
Bright.exportInstanceMethods |
function |
a function expression | yes | yes (4 ) |
Bright.exportConstructors |
function |
a function expression | yes | yes (4 ) |
Bright.author |
string |
"Bright_Leader" |
/ | / |
Bright.date |
number |
1686226515971 |
/ | / |
isUint32.MAX_VALUE |
number |
4294967295 |
/ | / |
isSint32.MAX_VALUE |
number |
2147483647 |
/ | / |
isSint32.MIN_VALUE |
number |
-2147483648 |
/ | / |
toLength.MAX_VALUE |
number |
9007199254740991 |
/ | / |
IteratedObject_internalSlot |
symbol or string
|
Symbol("[[IteratedObject]]") or "[[IteratedObject]]"
|
/ | / |
ArrayIteratorNextIndex_internalSlot |
symbol or string
|
Symbol(["[ArrayIteratorNextIndex]]") or "[[ArrayIteratorNextIndex]]"
|
/ | / |
ArrayIterationKind_internalSlot |
symbol or string
|
Symbol("[[ArrayIterationKind]]") or "[[ArrayIterationKind]]"
|
/ | / |
ArrayIterator.internalSlots |
object |
an Array instance, [IteratedObject_internalSlot, ArrayIteratorNextIndex_internalSlot, ArrayIterationKind_internalSlot]
|
/ | / |
createArrayIterator.allowedKinds |
object |
an Array instance, ["key", "value", "key+value"]
|
/ | / |
IteratorResult.prototype |
object |
default value of a function expression | / | / |
IteratorResult.prototype.value |
undefined |
undefined |
/ | / |
IteratorResult.prototype.done |
boolean |
false |
/ | / |
IterableIterator.prototype |
object |
default value of a function expression | / | / |
IterableIterator.prototype.next |
function |
a function expression | yes | yes (0 ) |
IterableIterator_Symboliterator |
function |
a function expression | no | yes (0 ) |
IterableIterator.prototype["@@iterator"] |
function |
IterableIterator_Symboliterator |
(refer to prior description) | (refer to prior description) |
IterableIterator.prototype["Symbol.iterator"] |
function |
IterableIterator_Symboliterator |
(refer to prior description) | (refer to prior description) |
IterableIterator.prototype[Symbol.iterator] |
function or not exist |
IterableIterator_Symboliterator (when function) |
(refer to prior description) | (refer to prior description) |
ArrayIteratorPrototype |
object |
an IterableIterator instance |
/ | / |
ArrayIteratorPrototype.next |
function |
a function expression | no | yes (0 ) |
ArrayIteratorPrototype["@@toStringTag"] |
string |
"Array Iterator" |
/ | / |
ArrayIteratorPrototype["Symbol.toStringTag"] |
string |
"Array Iterator" |
/ | / |
ArrayIteratorPrototype[Symbol.toStringTag] |
string or not exist |
"Array Iterator" (when string) |
/ | / |
ArrayIteratorPrototype[IteratedObject_internalSlot] |
null |
null |
/ | / |
ArrayIteratorPrototype[ArrayIteratorNextIndex_internalSlot] |
number |
0 |
/ | / |
ArrayIteratorPrototype[ArrayIterationKind_internalSlot] |
string |
"value" |
/ | / |
ArrayIterator.prototype |
object |
ArrayIteratorPrototype (the default value is overridden) |
/ | / |
DOMOperation.js
Item | Value type | Value | Is static? (no this in function body) |
Has fixed length? (no arguments in function body) |
---|---|---|---|---|
DOMOperation |
object |
an Object instance |
/ | / |
DOMOperation.relinquish |
function |
a function expression | yes | yes (0 ) |
DOMOperation.useRequireJS |
boolean |
false or true
|
/ | / |
DOMOperation.cspUnsafeEval |
function |
a function expression | yes | yes (0 ) |
DOMOperation.xmlInnerText |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartSplitTextNode |
function |
a function expression | yes | yes (2 ) |
DOMOperation.isTextNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isNotATextNodeError |
function |
a function statement | yes | yes (1 ) |
DOMOperation.splitTextNode |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementById |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementsByName |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementsByTagName |
function |
a function expression | yes | yes (2 ) |
DOMOperation.isDocumentFragment |
function |
a function expression | yes | yes (1 ) |
DOMOperation.createDocumentFragment |
function |
a function expression | yes | yes (0 ) |
DOMOperation.attributesGetter |
function |
a function expression | yes | yes (2 ) |
DOMOperation.createElement |
function |
a function expression | yes | no (1 ) |
DOMOperation.attributesSetter |
function |
a function expression | yes | yes (3 ) |
DOMOperation.smartSetDOMProperties |
function |
a function expression | yes | yes (3 ) |
DOMOperation.isValidNodeType |
function |
a function expression | yes | yes (1 ) |
DOMOperation.replaceNode |
function |
a function expression | yes | yes (2 ) |
DOMOperation.insertNodeBefore |
function |
a function expression | yes | yes (2 ) |
DOMOperation.insertNodeAfter |
function |
a function expression | yes | yes (2 ) |
DOMOperation.cloneNode |
function |
a function expression | yes | yes (2 ) |
DOMOperation.removeAllChildren |
function |
a function expression | yes | yes (1 ) |
DOMOperation.safeModifyNodeText |
function |
a function expression | yes | yes (2 ) |
DOMOperation.removeSelfFromParentNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartPreventDefaultEvent |
function |
a function expression | yes | yes (2 ) |
DOMOperation.smartStopPropagation |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartAddEventListener |
function |
a function expression | yes | yes (3 ) |
DOMOperation.smartPreventDefault |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementsByClassName |
function |
a function expression | yes | yes (2 ) |
DOMOperation.hasClass |
function |
a function expression | yes | yes (2 ) |
DOMOperation.segmentStringWithDelimiter |
function |
a function expression | yes | yes (3 ) |
DOMOperation.concatStringWithDelimiter |
function |
a function expression | yes | yes (4 ) |
DOMOperation.smartGetClasses |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartAddClasses |
function |
a function expression | yes | no (2 ) |
DOMOperation.removeAllClasses |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartRemoveClasses |
function |
a function expression | yes | no (2 ) |
DOMOperation.changeElementStyle |
function |
a function expression | yes | yes (3 ) |
DOMOperation.appendChildren |
function |
a function expression | yes | no (2 ) |
throwUnsupportedFeature |
function |
a function statement | yes | yes (0 ) |
DOMOperation.unsupportedFeature |
function |
throwUnsupportedFeature |
(refer to prior description) | (refer to prior description) |
DOMOperation.documentQuerySelector |
function (both cases) |
a function expression or throwUnsupportedFeature
|
yes (both cases) | yes (2 ) or yes (0 ) |
DOMOperation.documentQuerySelectorAll |
function (both cases) |
a function expression or throwUnsupportedFeature
|
yes (both cases) | yes (2 ) or yes (0 ) |
DOMOperation.stringToXML |
function (both cases) |
a function expression or throwUnsupportedFeature
|
yes (both cases) | yes (1 ) or yes (0 ) |
DOMOperation.stringToHTML |
function (both cases) |
a function expression or throwUnsupportedFeature
|
yes (both cases) | yes (1 ) or yes (0 ) |
DOMOperation.isDocument |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isElement |
function |
a function expression | yes | yes (1 ) |
DOMOperation.createTextNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isNotAnElementError |
function |
a function statement | yes | yes (1 ) |
DOMOperation.isNotANodeError |
function |
a function statement | yes | yes (1 ) |
DOMOperation.DOMOperation |
function |
a function expression | no | yes (2 ) |
DOMOperation.assignMultipleProperties |
function |
a function expression | yes | yes (6 ) |
DOMOperation.author |
string |
"Bright_Leader" |
/ | / |
DOMOperation.date |
number |
1686226584190 |
/ | / |
DOMOperation.isValidNodeType.validValues |
object |
an Array instance, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
|
/ | / |
DOMOperation.safeModifyNodeText.validValues |
object |
an Array instance, [3, 4, 8, 2, 7, 1, 11, 9]
|
/ | / |
throwUnsupportedFeature.message |
string |
"This feature is unsupported!" |
/ | / |
DOMOperation.DOMOperation.prototype |
object |
the default value of a function expression | / | / |
DOMOperation.DOMOperation.prototype.length |
number |
0 |
/ | / |
DOMOperation.DOMOperation.prototype.reference |
null |
null |
/ | / |
DOMOperation.DOMOperation.prototype.isArrayLike |
boolean |
false |
/ | / |
DOMOperation.DOMOperation.prototype.attributesSetter |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.smartSetDOMProperties |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.removeAllChildren |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.safeModifyNodeText |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.safeModifyNodeText.validValues |
object |
an Array instance, [3, 4, 8, 2, 7, 1, 11, 9]
|
/ | / |
DOMOperation.DOMOperation.prototype.removeSelfFromParentNode |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.smartAddEventListener |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.smartPreventDefault |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.smartAddClasses |
function |
a function expression | no | no (1 ) |
DOMOperation.DOMOperation.prototype.removeAllClasses |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.smartRemoveClasses |
function |
a function expression | no | no (1 ) |
DOMOperation.DOMOperation.prototype.changeElementStyle |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.toArray |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.unsupportedFeature |
function |
throwUnsupportedFeature |
(refer to prior description) | (refer to prior description) |
DOMOperation.DOMOperation.prototype.author |
string |
"Bright_Leader" |
/ | / |
DOMOperation.DOMOperation.prototype.date |
number |
1686226584190 |
/ | / |
Bright.js
(11,992
byte(s))DOMOperation.js
(13,947
byte(s))* The minified version is ECMAScript 3-compliant.
Bright.js
Item | Value type | Value | Is static? (no this in function body) |
Has fixed length? (no arguments in function body) |
---|---|---|---|---|
Bright |
object |
an Object instance |
/ | / |
Bright.relinquish |
function |
a function expression | yes | yes (0 ) |
Bright.useRequireJS |
boolean |
false or true
|
/ | / |
Bright.isInteger |
function |
a function expression | yes | yes (1 ) |
Bright.isNotInfinity |
function |
a function expression | yes | yes (1 ) |
Bright.isNormalNumber |
function |
a function expression | yes | yes (1 ) |
Bright.forceToInteger |
function |
a function expression | yes | yes (1 ) |
Bright.isUint32 |
function |
a function expression | yes | yes (1 ) |
Bright.isSint32 |
function |
a function expression | yes | yes (1 ) |
Bright.roundInteger |
function |
a function expression | yes | yes (3 ) |
Bright.isPlainObject |
function |
a function expression | yes | yes (1 ) |
Bright.isArrayLike |
function |
a function expression | yes | yes (1 ) |
Bright.arrayLikeDeduplicate |
function |
a function expression | yes | yes (1 ) |
Bright.arrayLikeCountElementOccurrence |
function |
a function expression | yes | yes (2 ) |
Bright.arrayLikeFindElementOccurrences |
function |
a function expression | yes | yes (2 ) |
Bright.mergeObject |
function |
a function expression | yes | yes (5 ) |
Bright.enumerateObjectProperties |
function |
a function expression | no | yes (2 ) |
Bright.enumerateObjectOwnProperties |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeForEach |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeMap |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeFilter |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeIndexOf |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeLastIndexOf |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeEvery |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeSome |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeReduce |
function |
a function expression | no | no (3 ) |
Bright.arrayLikeReduceRight |
function |
a function expression | no | no (3 ) |
Bright.arrayLikeFindIndex |
function |
a function expression | no | yes (2 ) |
Bright.arrayLikeFind |
function |
a function expression | no | yes (2 ) |
Bright.SIGNED_INT32_MAX |
number |
2147483647 |
/ | / |
Bright.SIGNED_INT32_MIN |
number |
-2147483648 |
/ | / |
Bright.UNSIGNED_INT32_MAX |
number |
4294967295 |
/ | / |
Bright.exportStaticMethods |
function |
a function expression | yes | yes (4 ) |
Bright.exportInstanceMethods |
function |
a function expression | yes | yes (4 ) |
Bright.author |
string |
"Bright_Leader" |
/ | / |
Bright.date |
number |
1685064723739 |
/ | / |
DOMOperation.js
Item | Value type | Value | Is static? (no this in function body) |
Has fixed length? (no arguments in function body) |
---|---|---|---|---|
DOMOperation |
object |
an Object instance |
/ | / |
DOMOperation.relinquish |
function |
a function expression | yes | yes (0 ) |
DOMOperation.useRequireJS |
boolean |
false or true
|
/ | / |
DOMOperation.cspUnsafeEval |
function |
a function expression | yes | yes (0 ) |
DOMOperation.xmlInnerText |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isText |
function |
a function expression | yes | yes (1 ) |
DOMOperation.getElementById |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementsByName |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementsByTagName |
function |
a function expression | yes | yes (2 ) |
DOMOperation.createTextNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isDocumentFragment |
function |
a function expression | yes | yes (1 ) |
DOMOperation.createDocumentFragment |
function (both cases) |
a function expression (both cases) | yes (both cases) | yes (0 ) (both cases) |
DOMOperation.attributesGetter |
function |
a function expression | yes | yes (2 ) |
DOMOperation.createElement |
function |
a function expression | yes | no (1 ) |
DOMOperation.attributesSetter |
function |
a function expression | yes | yes (3 ) |
DOMOperation.smartSetDOMProperties |
function |
a function expression | yes | yes (3 ) |
DOMOperation.isValidNodeType |
function |
a function expression | yes | yes (1 ) |
DOMOperation.replaceNode |
function |
a function expression | yes | yes (2 ) |
DOMOperation.insertNodeBefore |
function |
a function expression | yes | yes (2 ) |
DOMOperation.insertNodeAfter |
function |
a function expression | yes | yes (2 ) |
DOMOperation.cloneNode |
function |
a function expression | yes | yes (2 ) |
DOMOperation.removeAllChildren |
function |
a function expression | yes | yes (1 ) |
DOMOperation.safeModifyNodeText |
function |
a function expression | yes | yes (2 ) |
DOMOperation.removeSelfFromParentNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartPreventDefaultEvent |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartStopPropagation |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartAddEventListener |
function |
a function expression | yes | yes (3 ) |
DOMOperation.smartPreventDefault |
function |
a function expression | yes | yes (2 ) |
DOMOperation.getElementsByClassName |
function |
a function expression | yes | yes (2 ) |
DOMOperation.hasClass |
function |
a function expression | yes | yes (2 ) |
DOMOperation.segmentStringWithDelimiter |
function |
a function expression | yes | yes (3 ) |
DOMOperation.concatStringWithDelimiter |
function |
a function expression | yes | yes (4 ) |
DOMOperation.smartGetClasses |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartAddClasses |
function |
a function expression | yes | no (2 ) |
DOMOperation.removeAllClasses |
function |
a function expression | yes | yes (1 ) |
DOMOperation.smartRemoveClasses |
function |
a function expression | yes | no (2 ) |
DOMOperation.changeElementStyle |
function |
a function expression | yes | yes (3 ) |
DOMOperation.appendChildren |
function |
a function expression | yes | no (2 ) |
DOMOperation.arrayMethodsImplementation |
function |
a function expression | yes | yes (4 ) |
DOMOperation.documentQuerySelector |
function (both cases) |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (2 ) or yes (0 ) |
DOMOperation.documentQuerySelectorAll |
function (both cases) |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (2 ) or yes (0 ) |
DOMOperation.stringToXML |
function (both cases) |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (1 ) or yes (0 ) |
DOMOperation.stringToHTML |
function (both cases) |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (1 ) or yes (0 ) |
DOMOperation.isDocument |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isElement |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isNode |
function |
a function expression | yes | yes (1 ) |
DOMOperation.isNotAnElementError |
function |
a function statement | yes | yes (1 ) |
DOMOperation.isNotANodeError |
function |
a function statement | yes | yes (1 ) |
DOMOperation.DOMOperation |
function |
a function expression | no | yes (2 ) |
DOMOperation.unsupportedFeature |
function |
a function statement | yes | yes (0 ) |
DOMOperation.author |
string |
"Bright_Leader" |
/ | / |
DOMOperation.date |
number |
1685085340815 |
/ | / |
DOMOperation.assignMultipleProperties |
function |
a function expression | yes | yes (6 ) |
DOMOperation.isValidNodeType.validValues |
object |
an Array instance, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
|
/ | / |
DOMOperation.isValidNodeType.length |
number |
12 |
/ | / |
DOMOperation.safeModifyNodeText.validValues |
object |
an Array instance, [3, 4, 8, 2, 7, 1, 11, 9]
|
/ | / |
DOMOperation.safeModifyNodeText.validValues.length |
number |
8 |
/ | / |
DOMOperation.unsupportedFeature.message |
string |
"This feature is unsupported!" |
/ | / |
DOMOperation.DOMOperation.prototype |
object |
default value for a function expression | / | / |
DOMOperation.DOMOperation.prototype.length |
number |
0 |
/ | / |
DOMOperation.DOMOperation.prototype.reference |
null |
null |
/ | / |
DOMOperation.DOMOperation.prototype.isArrayLike |
boolean |
false |
/ | / |
DOMOperation.DOMOperation.prototype.attributesSetter |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.smartSetDOMProperties |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.removeAllChildren |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.safeModifyNodeText |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.safeModifyNodeText.validValues |
object |
an Array instance, [3, 4, 8, 2, 7, 1, 11, 9]
|
/ | / |
DOMOperation.DOMOperation.prototype.safeModifyNodeText.validValues.length |
number |
8 |
/ | / |
DOMOperation.DOMOperation.prototype.removeSelfFromParentNode |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.smartAddEventListener |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.smartPreventDefault |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype.smartAddClasses |
function |
a function expression | no | no (1 ) |
DOMOperation.DOMOperation.prototype.removeAllClasses |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype.smartRemoveClasses |
function |
a function expression | no | no (1 ) |
DOMOperation.DOMOperation.prototype.changeElementStyle |
function |
a function expression | no | no (0 ) |
DOMOperation.DOMOperation.prototype. ... |
... | (null, DOMOperation.arrayMethodsImplementation)(DOMOperation.DOMOperation.prototype) |
... | ... |
DOMOperation.DOMOperation.prototype.toArray |
function |
a function expression | no | yes (0 ) |
DOMOperation.DOMOperation.prototype. ... |
... | (null, Bright.exportInstanceMethods)(DOMOperation.DOMOperation.prototype) |
... | ... |
DOMOperation.DOMOperation.prototype.unsupportedFeature |
function |
DOMOperation.unsupportedFeature |
yes | yes (0 ) |
DOMOperation.DOMOperation.prototype.author |
string |
"Bright_Leader" |
/ | / |
DOMOperation.DOMOperation.prototype.date |
number |
1685085340815 |
/ | / |
Bright.js
(7,245
byte(s))DOMOperation.js
(14,398
byte(s))* The minified version is ECMAScript 3-compliant.
Bright.js
Item | Value type | Value | Is static function? (no this in body) |
Function has fixed length? (no arguments in body) |
---|---|---|---|---|
Bright |
object or function
|
an Object instance or a function expression |
yes (when function) | yes (1) (when function) |
Bright.relinquish |
function |
a function expression | yes | yes (0) |
Bright.isInteger |
function |
a function expression | yes | yes (1) |
Bright.isNotInfinity |
function |
a function expression | yes | yes (1) |
Bright.isNormalNumber |
function |
a function expression | yes | yes (1) |
Bright.forceToInteger |
function |
a function expression | yes | yes (1) |
Bright.isUint32 |
function |
a function expression | yes | yes (1) |
Bright.roundInteger |
function |
a function expression | yes | yes (3) |
Bright.isPlainObject |
function |
a function expression | yes | yes (1) |
Bright.isArrayLike |
function |
a function expression | yes | yes (1) |
Bright.nullishCoalescing |
function |
a function expression | yes | yes (3) |
Bright.arrayLikeDeduplicate |
function |
a function expression | yes | yes (1) |
Bright.arrayLikeCountElementOccurrence |
function |
a function expression | yes | yes (2) |
Bright.arrayLikeFindElementOccurrences |
function |
a function expression | yes | yes (2) |
Bright.mergeObject |
function |
a function expression | yes | yes (5) |
Bright.enumerateObjectProperties |
function |
a function expression | no | yes (2) |
Bright.enumerateObjectOwnProperties |
function |
a function expression | no | yes (2) |
Bright.enumerateObjectInheritedProperties |
function |
a function expression | no | yes (2) |
Bright.arrayLikeForEach |
function |
a function expression | no | yes (2) |
Bright.arrayLikeMap |
function |
a function expression | no | yes (2) |
Bright.arrayLikeFilter |
function |
a function expression | no | yes (2) |
Bright.arrayLikeIndexOf |
function |
a function expression | no | yes (2) |
Bright.arrayLikeLastIndexOf |
function |
a function expression | no | yes (2) |
Bright.arrayLikeEvery |
function |
a function expression | no | yes (2) |
Bright.arrayLikeSome |
function |
a function expression | no | yes (2) |
Bright.arrayLikeReduce |
function |
a function expression | no | no (3) |
Bright.arrayLikeReduceRight |
function |
a function expression | no | no (3) |
Bright.arrayLikeFindIndex |
function |
a function expression | no | yes (2) |
Bright.arrayLikeFind |
function |
a function expression | no | yes (2) |
Bright.SIGNED_INT32_MAX |
number |
2147483647 |
/ | / |
Bright.SIGNED_INT32_MIN |
number |
-2147483648 |
/ | / |
Bright.UNSIGNED_INT32_MAX |
number |
4294967295 |
/ | / |
Bright.exportStaticMethods |
function |
a function expression | yes | yes (4) |
Bright.exportInstanceMethods |
function |
a function expression | yes | yes (4) |
Bright.author |
string |
"Bright_Leader" |
/ | / |
Bright.date |
number |
1683965296853 |
/ | / |
DOMOperation.js
Item | Value type | Value | Is static function? (no this in body) |
Function has fixed length? (no arguments in body) |
---|---|---|---|---|
DOMOperation |
function |
a function expression | no | yes (2) |
DOMOperation.prototype |
object |
default value | / | / |
DOMOperation.DOMOperation |
function |
DOMOperation |
(refer to prior description) | (refer to prior description) |
DOMOperation.cspUnsafeEval |
function |
a function expression | yes | yes (0) |
DOMOperation.xmlInnerText |
function |
a function expression | yes | yes (1) |
DOMOperation.isDocument |
function |
a function expression | yes | yes (1) |
DOMOperation.getElementById |
function |
a function expression | yes | yes (2) |
DOMOperation.getElementsByName |
function |
a function expression | yes | yes (2) |
DOMOperation.getElementsByTagName |
function |
a function expression | yes | yes (2) |
DOMOperation.createTextNode |
function |
a function expression | yes | yes (1) |
DOMOperation.createDocumentFragment |
function |
a function expression | yes | yes (0) |
DOMOperation.attributesGetter |
function |
a function expression | yes | yes (2) |
DOMOperation.createElement |
function |
a function expression | yes | no (1) |
DOMOperation.attributesSetter |
function |
a function expression | yes | yes (3) |
DOMOperation.smartSetDOMProperties |
function |
a function expression | yes | yes (3) |
DOMOperation.isValidNodeType |
function |
a function expression | yes | yes (1) |
DOMOperation.isValidNodeType.validValues |
object |
an Array instance, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
|
/ | / |
DOMOperation.replaceNode |
function |
a function expression | yes | yes (2) |
DOMOperation.insertNodeBefore |
function |
a function expression | yes | yes (2) |
DOMOperation.insertNodeAfter |
function |
a function expression | yes | yes (2) |
DOMOperation.cloneNode |
function |
a function expression | yes | yes (2) |
DOMOperation.removeAllChildren |
function |
a function expression | yes | yes (1) |
DOMOperation.safeModifyNodeText |
function |
a function expression | yes | yes (2) |
DOMOperation.safeModifyNodeText.validValues |
object |
an Array instance, [3, 4, 8, 2, 7, 1, 11, 9]
|
/ | / |
DOMOperation.removeSelfFromParentNode |
function |
a function expression | yes | yes (1) |
DOMOperation.smartPreventDefaultEvent |
function |
a function expression | yes | yes (1) |
DOMOperation.smartStopPropagation |
function |
a function expression | yes | yes (1) |
DOMOperation.smartAddEventListener |
function |
a function expression | yes | yes (3) |
DOMOperation.smartPreventDefault |
function |
a function expression | yes | yes (2) |
DOMOperation.getElementsByClassName |
function |
a function expression | yes | yes (2) |
DOMOperation.hasClass |
function |
a function expression | yes | yes (2) |
DOMOperation.segmentStringWithDelimiter |
function |
a function expression | yes | yes (3) |
DOMOperation.concatStringWithDelimiter |
function |
a function expression | yes | yes (4) |
DOMOperation.smartGetClasses |
function |
a function expression | yes | yes (1) |
DOMOperation.smartAddClasses |
function |
a function expression | yes | no (2) |
DOMOperation.removeAllClasses |
function |
a function expression | yes | yes (1) |
DOMOperation.smartRemoveClasses |
function |
a function expression | yes | no (2) |
DOMOperation.changeElementStyle |
function |
a function expression | yes | yes (3) |
DOMOperation.appendChildren |
function |
a function expression | yes | no (2) |
DOMOperation.arrayMethodsImplementation |
function |
a function expression | yes | yes (4) |
DOMOperation.documentQuerySelector |
function |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (2) or yes (0) |
DOMOperation.documentQuerySelectorAll |
function |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (2) or yes (0) |
DOMOperation.stringToXML |
function |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (1) or yes (0) |
DOMOperation.stringToHTML |
function |
a function expression or DOMOperation.unsupportedFeature
|
yes (both cases) | yes (1) or yes (0) |
DOMOperation.isElement |
function |
a function expression | yes | yes (1) |
DOMOperation.isNode |
function |
a function expression | yes | yes (1) |
DOMOperation.isNotAnElementError |
function |
a function statement | yes | yes (1) |
DOMOperation.isNotANodeError |
function |
a function statement | yes | yes (1) |
DOMOperation.unsupportedFeature |
function |
a function statement | yes | yes (0) |
DOMOperation.unsupportedFeature.message |
string |
"This feature is unsupported!" |
/ | / |
DOMOperation.author |
string |
"Bright_Leader" |
/ | / |
DOMOperation.date |
number |
1684144917877 |
/ | / |
DOMOperation.assignMultipleProperties |
function |
a function expression | yes | yes (6) |
DOMOperation.prototype.length |
number |
0 |
/ | / |
DOMOperation.prototype.reference |
null |
null |
/ | / |
DOMOperation.prototype.isArrayLike |
boolean |
false |
/ | / |
DOMOperation.prototype.attributesSetter |
function |
a function expression | no | no (0) |
DOMOperation.prototype.smartSetDOMProperties |
function |
a function expression | no | no (0) |
DOMOperation.prototype.removeAllChildren |
function |
a function expression | no | yes (0) |
DOMOperation.prototype.safeModifyNodeText |
function |
a function expression | no | no (0) |
DOMOperation.prototype.safeModifyNodeText.validValues |
object |
an Array instance, [3, 4, 8, 2, 7, 1, 11, 9]
|
/ | / |
DOMOperation.prototype.removeSelfFromParentNode |
function |
a function expression | no | yes (0) |
DOMOperation.prototype.smartAddEventListener |
function |
a function expression | no | no (0) |
DOMOperation.prototype.smartPreventDefault |
function |
a function expression | no | no (0) |
DOMOperation.prototype.smartAddClasses |
function |
a function expression | no | no (1) |
DOMOperation.prototype.removeAllClasses |
function |
a function expression | no | yes (0) |
DOMOperation.prototype.smartRemoveClasses |
function |
a function expression | no | no (1) |
DOMOperation.prototype.changeElementStyle |
function |
a function expression | no | no (0) |
DOMOperation.prototype.toString |
function |
Array.prototype.toString |
no | yes (0) |
DOMOperation.prototype.toLocaleString |
function |
Array.prototype.toLocaleString |
no | indefinite (0) |
DOMOperation.prototype.concat |
function |
Array.prototype.concat |
no | no (1) |
DOMOperation.prototype.join |
function |
Array.prototype.join |
no | yes (1) |
DOMOperation.prototype.pop |
function |
Array.prototype.pop |
no | yes (0) |
DOMOperation.prototype.push |
function |
Array.prototype.push |
no | no (1) |
DOMOperation.prototype.reverse |
function |
Array.prototype.reverse |
no | yes (0) |
DOMOperation.prototype.shift |
function |
Array.prototype.shift |
no | yes (0) |
DOMOperation.prototype.slice |
function |
Array.prototype.slice |
no | yes (2) |
DOMOperation.prototype.sort |
function |
Array.prototype.sort |
no | indefinite (0 or 1) |
DOMOperation.prototype.splice |
function |
Array.prototype.splice |
no | no (2) |
DOMOperation.prototype.unshift |
function |
Array.prototype.unshift |
no | no (1) |
DOMOperation.prototype.indexOf |
function |
Array.prototype.indexOf or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.lastIndexOf |
function |
Array.prototype.lastIndexOf or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.every |
function |
Array.prototype.every or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.some |
function |
Array.prototype.some or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.forEach |
function |
Array.prototype.forEach or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.map |
function |
Array.prototype.map or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.filter |
function |
Array.prototype.filter or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.reduce |
function |
Array.prototype.reduce or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.reduceRight |
function |
Array.prototype.reduceRight or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.copyWithin |
function |
Array.prototype.copyWithin or DOMOperation.unsupportedFeature
|
no or yes | no (2) or yes |
DOMOperation.prototype.entries |
function |
Array.prototype.entries or DOMOperation.unsupportedFeature
|
no or yes | yes (0) (both cases) |
DOMOperation.prototype.fill |
function |
Array.prototype.fill or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.find |
function |
Array.prototype.find or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.findIndex |
function |
Array.prototype.findIndex or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype.keys |
function |
Array.prototype.keys or DOMOperation.unsupportedFeature
|
no or yes | yes (0) (both cases) |
DOMOperation.prototype.values |
function |
Array.prototype.values or DOMOperation.unsupportedFeature
|
no or yes | yes (0) (both cases) |
DOMOperation.prototype.includes |
function |
Array.prototype.includes or DOMOperation.unsupportedFeature
|
no or yes | no (1) or yes (0) |
DOMOperation.prototype["Symbol.iterator"] |
function |
Array.prototype[@@iterator] (equivalent to Array.prototype.values ) or DOMOperation.unsupportedFeature
|
no or yes | yes (0) (both cases) |
DOMOperation.prototype[Symbol.iterator] |
not exist or function
|
not exist or DOMOperation.prototype["Symbol.iterator"]
|
dependent | dependent |
DOMOperation.prototype["Symbol.unscopables"] |
object or function
|
Array.prototype[@@unscopables] (a null-prototype object {"copyWithin": true, "entries": true, "fill": true, "find": true, "findIndex": true, "keys": true, "values": true} ) or DOMOperation.unsupportedFeature
|
yes (when function) | yes (0) (when function) |
DOMOperation.prototype[Symbol.unscopables] |
not exist or function
|
DOMOperation.prototype["Symbol.unscopables"] or DOMOperation.unsupportedFeature
|
dependent | dependent |
DOMOperation.prototype.toArray |
function |
a function expression | no | yes (0) |
DOMOperation.prototype.enumerateObjectProperties |
function |
Bright.enumerateObjectProperties |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.enumerateObjectOwnProperties |
function |
Bright.enumerateObjectOwnProperties |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.enumerateObjectInheritedProperties |
function |
Bright.enumerateObjectInheritedProperties |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeForEach |
function |
Bright.arrayLikeForEach |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeMap |
function |
Bright.arrayLikeMap |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeFilter |
function |
Bright.arrayLikeFilter |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeIndexOf |
function |
Bright.arrayLikeIndexOf |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeLastIndexOf |
function |
Bright.arrayLikeLastIndexOf |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeEvery |
function |
Bright.arrayLikeEvery |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeSome |
function |
Bright.arrayLikeSome |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeReduce |
function |
Bright.arrayLikeReduce |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeReduceRight |
function |
Bright.arrayLikeReduceRight |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeFindIndex |
function |
Bright.arrayLikeFindIndex |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.arrayLikeFind |
function |
Bright.arrayLikeFind |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.unsupportedFeature |
function |
DOMOperation.unsupportedFeature |
(refer to prior description) | (refer to prior description) |
DOMOperation.prototype.author |
string |
"Bright_Leader" |
/ | / |
DOMOperation.prototype.date |
number |
1684144917877 |
/ | / |
DOMOperation.relinquish |
function |
a function expression | yes | yes (0) |
Bright.js
(7,470
byte(s))DOMOperation.js
(14,014
byte(s))* The minified version is ECMAScript 3-compliant.
See GitCode for detailed information.
Bright.js
date 1660226223123
DOMOperation.js
date 1669601351393
DOMOperation.js
DOMOperation.GetElementsByTagName
: returns what document.getElementsByTagName
will return (usually an HTMLCollection
instance) instead of a DOMOperation
instance.DOMOperation.AttributesGetter
: no longer returns a DOMOperation
instance.DOMOperation.SmartGetClasses
: returns an Array
instance instead of a DOMOperation
instance.DOMOperation.GetElementsByClassName
: returns an Array
instance instead of a DOMOperation
instance.DOMOperation.AppendChildren
: no longer misinterprets the 2nd argument as a common array-like object when it is in essence a Node
instance.DOMOperation.ReplaceNode
: (newly added) is used to replace the 2nd argument (a Node
instance) with the 1st argument (a Node
instance) in document tree.DOMOperation.InsertNodeBefore
: (newly added) is used to add the 1st argument (a Node
instance) before the 2nd argument (a Node
instance) in document tree.DOMOperation.InsertNodeAfter
: (newly added) is used to add the 1st argument (a Node
instance) after the 2nd argument (a Node
instance) in document tree.DOMOperation.CloneNode
: (newly added) is used to clone the 1st argument (a Node
instance), with the 2nd argument (a boolean
primitive value) deciding whether to do a deep clone.DOMOperation.DocumentQuerySelectorAll
(optional): returns what document.querySelectorAll
will return (usually a NodeList
instance) instead of a DOMOperation
instance.Suppose you have a simple directory with files:
index.xhtml
Bright.js
DOMOperation.js
main.js
In ./index.xhtml
, import these JavaScript libraries by using the <script>
tag directly:
<script type="text/javascript" src="./Bright.js" defer="defer"/>
<script type="text/javascript" src="./DOMOperation.js" defer="defer"/>
<script type="text/javascript" src="./main.js" defer="defer"/>
And in ./main.js
:
(function (Bright, DOMOperation) {
/* Libraries are available now. */
/* ... */
})(
this.Bright,
this.DOMOperation
);
You can also use RequireJS (we use version 2.0.4 (with comments / minified)) to allow asynchronous load.
Suppose you have a simple directory with files:
index.xhtml
Bright.js
DOMOperation.js
require.js
main.js
In ./index.xhtml
:
<script type="text/javascript" src="./require.js" defer="defer"/>
<script type="text/javascript" src="./main.js" defer="defer"/>
And in ./main.js
:
requirejs(
["Bright", "DOMOperation"],
function (Bright, DOMOperation) {
/* Libraries are available now. */
/* ... */
}
);
Bright.js
(6,740
byte(s))DOMOperation.js
(13,325
byte(s))Bright.js
date 1660226223123
DOMOperation.js
date 1660299027351
Suppose you have a simple directory with files:
index.xhtml
Bright.js
DOMOperation.js
main.js
In ./index.xhtml
, import these JavaScript libraries by using the <script>
tag directly:
<script type="text/javascript" src="./Bright.js" defer="defer"/>
<script type="text/javascript" src="./DOMOperation.js" defer="defer"/>
<script type="text/javascript" src="./main.js" defer="defer"/>
And in ./main.js
:
(function (Bright, DOMOperation) {
/* Libraries are available now. */
/* ... */
})(
this.Bright,
this.DOMOperation
);
You can also use RequireJS (we use version 2.0.4 (with comments / minified)) to allow asynchronous load.
Suppose you have a simple directory with files:
index.xhtml
Bright.js
DOMOperation.js
require.js
main.js
In ./index.xhtml
:
<script type="text/javascript" src="./require.js" defer="defer"/>
<script type="text/javascript" src="./main.js" defer="defer"/>
And in ./main.js
:
requirejs(
["Bright", "DOMOperation"],
function (Bright, DOMOperation) {
/* Libraries are available now. */
/* ... */
}
);
Bright.js
(6,740
byte(s))DOMOperation.js
(12,849
byte(s))