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 HasEnums | |
{ | |
/** | |
* The array of enumerators of a given group. | |
* | |
* @param null|string $group | |
* @return array | |
*/ | |
static function enums($group = 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
import iterativefib from 'iterativefib'; | |
import memofib from 'memofib'; | |
import range from 'test/helpers/range'; | |
const nsTime = (hrtime) => hrtime[0] * 1e9 + hrtime[1]; | |
const profile = () => { | |
const numbers = 79; | |
const msg = `Profile with ${ numbers } numbers`; |
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
var subscribers = [] | |
var activeJob = null | |
var a = 3 | |
var state = { | |
get a () { | |
if(subscribers.indexOf(activeJob) < 0){ | |
subscribers.push(activeJob) | |
} | |
return 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
import iterativefib from 'iterativefib'; | |
import memofib from 'memofib'; | |
import range from 'test/helpers/range'; | |
const nsTime = (hrtime) => hrtime[0] * 1e9 + hrtime[1]; | |
const profile = () => { | |
const numbers = 79; | |
const msg = `Profile with ${ numbers } numbers`; |