This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| composable("composites.Range", function (require, global) { | |
| "use strict"; | |
| require("environment_extended_introspective_core"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (Function, Array) { | |
| var | |
| function_prototype = Function.prototype, | |
| isFunction = (function (TYPEOF_FUNCTION) { | |
| return function (type) { | |
| return ((typeof type == TYPEOF_FUNCTION) | |
| && (typeof type.call == TYPEOF_FUNCTION) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (Object) { | |
| var | |
| expose_internal_value = Object.prototype.valueOf, | |
| NULL_VALUE = null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // | |
| // Just Another "Trait Composition Language" Library for ECMAScript | |
| // | |
| // | |
| (function (global) { // module (pattern). | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trait customTrait { | |
| use { Trait_A, Trait_B, Trait_C } | |
| apply all | |
| apply all without { methodName_z, methodName_y } | |
| apply { Trait_A } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * | |
| * [Array.removeFirstMatch.removeLastMatch.removeEveryMatch.js] | |
| * | |
| * Implementation of 3 condition-function based, prototypal `Array` methods | |
| * which do mutate each their processed array reference. | |
| * | |
| * - `Array.prototype.removeFirstMatch`, | |
| * - `Array.prototype.removeLastMatch`, | |
| * - `Array.prototype.removeEveryMatch` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * refactored version as part of an answer at Stackoverflow | |
| * | |
| * - [https://stackoverflow.com/questions/69204241/javascript-counter-with-timed-intervals/69204495#69204495] | |
| */ | |
| (function (global, Reflect, Math, Number, Array, Function) { | |
| 'use strict'; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (global) { | |
| 'use strict'; | |
| var | |
| Array = global.Array, | |
| Object = global.Object, | |
| RegExp = global.RegExp, | |
| Function = global.Function, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // file "Object.getMaxDepth.js" | |
| const Object = global.Object; | |
| const object_prototype_toString = Object.prototype.toString; | |
| const object_keys = Object.keys; | |
| const math_max = global.Math.max; | |
| const isArray = global.Array.isArray; |