From e7209999fe7302f5674e686522ad5588f61305e2 Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Thu, 25 Oct 2018 06:41:46 +0000 Subject: [PATCH] Travis build: 680 [cron] --- dist/_30s.es5.min.js | 2 +- test/testlog | 818 +++++++++++++++++++++---------------------- 2 files changed, 410 insertions(+), 410 deletions(-) diff --git a/dist/_30s.es5.min.js b/dist/_30s.es5.min.js index 55ad3bfaf..6e76c18d2 100644 --- a/dist/_30s.es5.min.js +++ b/dist/_30s.es5.min.js @@ -1 +1 @@ -(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?t():'function'==typeof define&&define.amd?define(t):t()})(this,function(){'use strict';function e(t){return e='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},e(t)}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e){for(var n=1;n>e/4).toString(16)})},UUIDGeneratorNode:function(){return'10000000-1000-4000-8000-100000000000'.replace(/[018]/g,function(e){return(e^j.randomBytes(1)[0]&15>>e/4).toString(16)})},all:function(e){var t=1'.concat(e,'')}).join('')}()},ary:function(e,t){return function(){for(var n=arguments.length,i=Array(n),r=0;rt||t>e)return 0;if(0===t||t===e)return 1;if(1===t||t===e-1)return e;e-t=(document.documentElement.scrollHeight||document.documentElement.clientHeight)},btoa:function(e){return Buffer.from(e,'binary').toString('base64')},byteSize:function(e){return new Blob([e]).size},call:function(e){for(var t=arguments.length,n=Array(1(n-t)*i?-i:i,o=setInterval(function(){a+=l,document.querySelector(e).innerHTML=a,a>=n&&(document.querySelector(e).innerHTML=n),a>=n&&clearInterval(o)},v(y(r/(n-t))));return o},createElement:function(e){var t=document.createElement('div');return t.innerHTML=e,t.firstElementChild},createEventHub:function(){return{hub:Object.create(null),emit:function(e,t){(this.hub[e]||[]).forEach(function(e){return e(t)})},on:function(e,t){this.hub[e]||(this.hub[e]=[]),this.hub[e].push(t)},off:function(e,t){var n=(this.hub[e]||[]).findIndex(function(e){return e===t});-1'"]/g,function(e){return{"&":'&',"<":'<',">":'>',"'":''','"':'"'}[e]||e})},escapeRegExp:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,'\\$&')},everyNth:function(e,t){return e.filter(function(n,e){return e%t==t-1})},extendHex:function(e){return'#'+e.slice(e.startsWith('#')?1:0).split('').map(function(e){return e+e}).join('')},factorial:function e(t){return 0>t?function(){throw new TypeError('Negative numbers are not allowed!')}():1>=t?1:t*e(t-1)},fibonacci:function(e){return Array.from({length:e}).reduce(function(e,t,n){return e.concat(1e&&(e=-e);var t={day:y(e/864e5),hour:y(e/36e5)%24,minute:y(e/6e4)%60,second:y(e/1e3)%60,millisecond:y(e)%1e3};return Object.entries(t).filter(function(e){return 0!==e[1]}).map(function(e){var t=r(e,2),n=t[0],i=t[1];return''.concat(i,' ').concat(n).concat(1===i?'':'s')}).join(', ')},fromCamelCase:function(e){var t=1e?e%12+'am':e%12+'pm'},getScrollPosition:function(){var e=0>>(t?24:16))+', '+((n&(t?16711680:65280))>>>(t?16:8))+', '+((n&(t?65280:255))>>>(t?8:0))+(t?', '.concat(255&n):'')+')'},hide:function(e){return e.forEach(function(t){return t.style.display='none'})},httpGet:function(e,t){var n=2n){var i=[t,n];n=i[0],t=i[1]}return null==n?0<=e&&e=t&&et},isAnagram:function(e,t){var n=function(e){return e.toLowerCase().replace(/[^a-z0-9]/gi,'').split('').sort().join('')};return n(e)===n(t)},isArrayLike:function(e){return null!=e&&'function'==typeof e[Symbol.iterator]},isBeforeDate:function(e,t){return ee.length?t:e})},lowercaseKeys:function(e){return Object.keys(e).reduce(function(t,n){return t[n.toLowerCase()]=e[n],t},{})},luhnCheck:function(e){var t=(e+'').split('').reverse().map(function(e){return parseInt(e)}),n=t.splice(0,1)[0],i=t.reduce(function(e,t,n){return 0==n%2?e+2*t%9||9:e+t},0);return i+=n,0==i%10},mapKeys:function(e,t){return Object.keys(e).reduce(function(n,i){return n[t(e[i],i,e)]=e[i],n},{})},mapObject:function(e,t){return function(n){return n=[e,e.map(t)],n[0].reduce(function(e,t,i){return e[t]=n[1][i],e},{})}()},mapString:function(e,t){return e.split('').map(function(n,r){return t(n,r,e)}).join('')},mapValues:function(e,t){return Object.keys(e).reduce(function(n,i){return n[i]=t(e[i],i,e),n},{})},mask:function(e){var t=1r-n&&(t='mouse',e(t),document.removeEventListener('mousemove',i)),n=r};document.addEventListener('touchstart',function(){'touch'==t||(t='touch',e(t),document.addEventListener('mousemove',i))})},once:function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,i=Array(n),r=0;rd?1:sv(e))return e+(i?' ':'')+r[0];var a=m(y(Math.log10(0>e?-e:e)/3),r.length-1),l=+((0>e?-e:e)/g(1e3,a)).toPrecision(t);return(0>e?'-':'')+l+(i?' ':'')+r[a]},primes:function(e){var t=Array.from({length:e-1}).map(function(e,t){return t+2}),n=y(h(e)),i=Array.from({length:n-1}).map(function(e,t){return t+2});return i.forEach(function(e){return t=t.filter(function(t){return 0!=t%e||t===e})}),t},promisify:function(e){return function(){for(var t=arguments.length,n=Array(t),i=0;ie[e.length-1],i=e.findIndex(function(e){return n?t>=e:t<=e});return-1===i?e.length:i},sortedIndexBy:function(e,t,n){var i=n(e[0])>n(e[e.length-1]),r=n(t),a=e.findIndex(function(e){return i?r>=n(e):r<=n(e)});return-1===a?e.length:a},sortedLastIndex:function(e,t){var n=e[0]>e[e.length-1],i=e.reverse().findIndex(function(e){return n?t<=e:t>=e});return-1===i?0:e.length-i},sortedLastIndexBy:function(e,t,n){var i=n(e[0])>n(e[e.length-1]),r=n(t),a=e.map(n).reverse().findIndex(function(e){return i?r<=e:r>=e});return-1===a?0:e.length-a},splitLines:function(e){return e.split(/\r?\n/)},spreadOver:function(e){return function(t){return e.apply(void 0,o(t))}},stableSort:function(e,t){return e.map(function(e,t){return{item:e,index:t}}).sort(function(e,n){return t(e.item,n.item)||e.index-n.index}).map(function(e){var t=e.item;return t})},standardDeviation:function(e){var t=!!(1=t.length?2===t.length?[t,t[1]+t[0]]:[t]:t.split('').reduce(function(n,r,a){return n.concat(e(t.slice(0,a)+t.slice(a+1)).map(function(e){return r+e}))},[])},stripHTMLTags:function(e){return e.replace(/<[^>]*>/g,'')},sum:function(){for(var e=arguments.length,t=Array(e),n=0;n=t&&(e.apply(a,l),r=Date.now())},k(t-(Date.now()-r),0))):(e.apply(a,l),r=Date.now(),n=!0)}},timeTaken:function(e){console.time('timeTaken');var t=e();return console.timeEnd('timeTaken'),t},times:function(e,t){for(var n=2t?e.slice(0,3r.length)throw new RangeError('Arguments too few!');return n(e)(r.slice(0,t))}},unescapeHTML:function(e){return e.replace(/&|<|>|'|"/g,function(e){return{"&":'&',"<":'<',">":'>',"'":'\'',""":'"'}[e]||e})},unflattenObject:function(e){return Object.keys(e).reduce(function(t,n){if(-1!==n.indexOf('.')){var r=n.split('.');Object.assign(t,JSON.parse('{'+r.map(function(e,t){return t===r.length-1?'"'.concat(e,'":'):'"'.concat(e,'":{')}).join('')+e[n]+'}'.repeat(r.length)))}else t[n]=e[n];return t},{})},unfold:function(e,t){for(var n=[],i=[null,t];i=e(i[1]);)n.push(i[0]);return n},union:function(e,t){return Array.from(new Set(o(e).concat(o(t))))},unionBy:function(e,t,n){var i=new Set(e.map(n));return Array.from(new Set(o(e).concat(o(t.filter(function(e){return!i.has(n(e))})))))},unionWith:function(e,t,n){return Array.from(new Set(o(e).concat(o(t.filter(function(t){return-1===e.findIndex(function(e){return n(t,e)})})))))},uniqueElements:function(e){return o(new Set(e))},uniqueElementsBy:function(e,t){return e.reduce(function(e,n){return e.some(function(e){return t(n,e)})||e.push(n),e},[])},uniqueElementsByRight:function(e,t){return e.reduceRight(function(e,n){return e.some(function(e){return t(n,e)})||e.push(n),e},[])},uniqueSymmetricDifference:function(e,t){return o(new Set(o(e.filter(function(e){return!t.includes(e)})).concat(o(t.filter(function(t){return!e.includes(t)})))))},untildify:function(e){return e.replace(/^~($|\/|\\)/,''.concat(require('os').homedir(),'$1'))},unzip:function(e){return e.reduce(function(e,t){return t.forEach(function(t,n){return e[n].push(t)}),e},Array.from({length:k.apply(Math,o(e.map(function(e){return e.length})))}).map(function(){return[]}))},unzipWith:function(e,t){return e.reduce(function(e,t){return t.forEach(function(t,n){return e[n].push(t)}),e},Array.from({length:k.apply(Math,o(e.map(function(e){return e.length})))}).map(function(){return[]})).map(function(e){return t.apply(void 0,o(e))})},validateNumber:function(e){return!isNaN(parseFloat(e))&&isFinite(e)&&+e==e},when:function(e,t){return function(n){return e(n)?t(n):n}},without:function(e){for(var t=arguments.length,n=Array(1>e/4).toString(16)})},UUIDGeneratorNode:function(){return'10000000-1000-4000-8000-100000000000'.replace(/[018]/g,function(e){return(e^S.randomBytes(1)[0]&15>>e/4).toString(16)})},all:function(e){var t=1'.concat(e,'')}).join('')}()},ary:function(e,t){return function(){for(var n=arguments.length,i=Array(n),r=0;rt||t>e)return 0;if(0===t||t===e)return 1;if(1===t||t===e-1)return e;e-t=(document.documentElement.scrollHeight||document.documentElement.clientHeight)},btoa:function(e){return Buffer.from(e,'binary').toString('base64')},byteSize:function(e){return new Blob([e]).size},call:function(e){for(var t=arguments.length,n=Array(1(n-t)*i?-i:i,o=setInterval(function(){a+=l,document.querySelector(e).innerHTML=a,a>=n&&(document.querySelector(e).innerHTML=n),a>=n&&clearInterval(o)},v(y(r/(n-t))));return o},createElement:function(e){var t=document.createElement('div');return t.innerHTML=e,t.firstElementChild},createEventHub:function(){return{hub:Object.create(null),emit:function(e,t){(this.hub[e]||[]).forEach(function(e){return e(t)})},on:function(e,t){this.hub[e]||(this.hub[e]=[]),this.hub[e].push(t)},off:function(e,t){var n=(this.hub[e]||[]).findIndex(function(e){return e===t});-1'"]/g,function(e){return{"&":'&',"<":'<',">":'>',"'":''','"':'"'}[e]||e})},escapeRegExp:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,'\\$&')},everyNth:function(e,t){return e.filter(function(n,e){return e%t==t-1})},extendHex:function(e){return'#'+e.slice(e.startsWith('#')?1:0).split('').map(function(e){return e+e}).join('')},factorial:function e(t){return 0>t?function(){throw new TypeError('Negative numbers are not allowed!')}():1>=t?1:t*e(t-1)},fibonacci:function(e){return Array.from({length:e}).reduce(function(e,t,n){return e.concat(1e&&(e=-e);var t={day:y(e/864e5),hour:y(e/36e5)%24,minute:y(e/6e4)%60,second:y(e/1e3)%60,millisecond:y(e)%1e3};return Object.entries(t).filter(function(e){return 0!==e[1]}).map(function(e){var t=r(e,2),n=t[0],i=t[1];return''.concat(i,' ').concat(n).concat(1===i?'':'s')}).join(', ')},fromCamelCase:function(e){var t=1e?e%12+'am':e%12+'pm'},getScrollPosition:function(){var e=0>>(t?24:16))+', '+((n&(t?16711680:65280))>>>(t?16:8))+', '+((n&(t?65280:255))>>>(t?8:0))+(t?', '.concat(255&n):'')+')'},hide:function(e){return e.forEach(function(t){return t.style.display='none'})},httpGet:function(e,t){var n=2n){var i=[t,n];n=i[0],t=i[1]}return null==n?0<=e&&e=t&&et},isAnagram:function(e,t){var n=function(e){return e.toLowerCase().replace(/[^a-z0-9]/gi,'').split('').sort().join('')};return n(e)===n(t)},isArrayLike:function(e){return null!=e&&'function'==typeof e[Symbol.iterator]},isBeforeDate:function(e,t){return ee.length?t:e})},lowercaseKeys:function(e){return Object.keys(e).reduce(function(t,n){return t[n.toLowerCase()]=e[n],t},{})},luhnCheck:function(e){var t=(e+'').split('').reverse().map(function(e){return parseInt(e)}),n=t.splice(0,1)[0],i=t.reduce(function(e,t,n){return 0==n%2?e+2*t%9||9:e+t},0);return i+=n,0==i%10},mapKeys:function(e,t){return Object.keys(e).reduce(function(n,i){return n[t(e[i],i,e)]=e[i],n},{})},mapObject:function(e,t){return function(n){return n=[e,e.map(t)],n[0].reduce(function(e,t,i){return e[t]=n[1][i],e},{})}()},mapString:function(e,t){return e.split('').map(function(n,r){return t(n,r,e)}).join('')},mapValues:function(e,t){return Object.keys(e).reduce(function(n,i){return n[i]=t(e[i],i,e),n},{})},mask:function(e){var t=1r-n&&(t='mouse',e(t),document.removeEventListener('mousemove',i)),n=r};document.addEventListener('touchstart',function(){'touch'==t||(t='touch',e(t),document.addEventListener('mousemove',i))})},once:function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,i=Array(n),r=0;rd?1:sv(e))return e+(i?' ':'')+r[0];var a=m(y(Math.log10(0>e?-e:e)/3),r.length-1),l=+((0>e?-e:e)/g(1e3,a)).toPrecision(t);return(0>e?'-':'')+l+(i?' ':'')+r[a]},primes:function(e){var t=Array.from({length:e-1}).map(function(e,t){return t+2}),n=y(h(e)),i=Array.from({length:n-1}).map(function(e,t){return t+2});return i.forEach(function(e){return t=t.filter(function(t){return 0!=t%e||t===e})}),t},promisify:function(e){return function(){for(var t=arguments.length,n=Array(t),i=0;ie[e.length-1],i=e.findIndex(function(e){return n?t>=e:t<=e});return-1===i?e.length:i},sortedIndexBy:function(e,t,n){var i=n(e[0])>n(e[e.length-1]),r=n(t),a=e.findIndex(function(e){return i?r>=n(e):r<=n(e)});return-1===a?e.length:a},sortedLastIndex:function(e,t){var n=e[0]>e[e.length-1],i=e.reverse().findIndex(function(e){return n?t<=e:t>=e});return-1===i?0:e.length-i},sortedLastIndexBy:function(e,t,n){var i=n(e[0])>n(e[e.length-1]),r=n(t),a=e.map(n).reverse().findIndex(function(e){return i?r<=e:r>=e});return-1===a?0:e.length-a},splitLines:function(e){return e.split(/\r?\n/)},spreadOver:function(e){return function(t){return e.apply(void 0,o(t))}},stableSort:function(e,t){return e.map(function(e,t){return{item:e,index:t}}).sort(function(e,n){return t(e.item,n.item)||e.index-n.index}).map(function(e){var t=e.item;return t})},standardDeviation:function(e){var t=!!(1=t.length?2===t.length?[t,t[1]+t[0]]:[t]:t.split('').reduce(function(n,r,a){return n.concat(e(t.slice(0,a)+t.slice(a+1)).map(function(e){return r+e}))},[])},stripHTMLTags:function(e){return e.replace(/<[^>]*>/g,'')},sum:function(){for(var e=arguments.length,t=Array(e),n=0;n=t&&(e.apply(a,l),r=Date.now())},k(t-(Date.now()-r),0))):(e.apply(a,l),r=Date.now(),n=!0)}},timeTaken:function(e){console.time('timeTaken');var t=e();return console.timeEnd('timeTaken'),t},times:function(e,t){for(var n=2t?e.slice(0,3r.length)throw new RangeError('Arguments too few!');return n(e)(r.slice(0,t))}},unescapeHTML:function(e){return e.replace(/&|<|>|'|"/g,function(e){return{"&":'&',"<":'<',">":'>',"'":'\'',""":'"'}[e]||e})},unflattenObject:function(e){return Object.keys(e).reduce(function(t,n){if(-1!==n.indexOf('.')){var r=n.split('.');Object.assign(t,JSON.parse('{'+r.map(function(e,t){return t===r.length-1?'"'.concat(e,'":'):'"'.concat(e,'":{')}).join('')+e[n]+'}'.repeat(r.length)))}else t[n]=e[n];return t},{})},unfold:function(e,t){for(var n=[],i=[null,t];i=e(i[1]);)n.push(i[0]);return n},union:function(e,t){return Array.from(new Set(o(e).concat(o(t))))},unionBy:function(e,t,n){var i=new Set(e.map(n));return Array.from(new Set(o(e).concat(o(t.filter(function(e){return!i.has(n(e))})))))},unionWith:function(e,t,n){return Array.from(new Set(o(e).concat(o(t.filter(function(t){return-1===e.findIndex(function(e){return n(t,e)})})))))},uniqueElements:function(e){return o(new Set(e))},uniqueElementsBy:function(e,t){return e.reduce(function(e,n){return e.some(function(e){return t(n,e)})||e.push(n),e},[])},uniqueElementsByRight:function(e,t){return e.reduceRight(function(e,n){return e.some(function(e){return t(n,e)})||e.push(n),e},[])},uniqueSymmetricDifference:function(e,t){return o(new Set(o(e.filter(function(e){return!t.includes(e)})).concat(o(t.filter(function(t){return!e.includes(t)})))))},untildify:function(e){return e.replace(/^~($|\/|\\)/,''.concat(require('os').homedir(),'$1'))},unzip:function(e){return e.reduce(function(e,t){return t.forEach(function(t,n){return e[n].push(t)}),e},Array.from({length:k.apply(Math,o(e.map(function(e){return e.length})))}).map(function(){return[]}))},unzipWith:function(e,t){return e.reduce(function(e,t){return t.forEach(function(t,n){return e[n].push(t)}),e},Array.from({length:k.apply(Math,o(e.map(function(e){return e.length})))}).map(function(){return[]})).map(function(e){return t.apply(void 0,o(e))})},validateNumber:function(e){return!isNaN(parseFloat(e))&&isFinite(e)&&+e==e},when:function(e,t){return function(n){return e(n)?t(n):n}},without:function(e){for(var t=arguments.length,n=Array(1=n - # PASS test/forEachRight.test.js -ok 894 — forEachRight is a Function -ok 895 — Iterates over the array in reverse +ok 892 — forEachRight is a Function +ok 893 — Iterates over the array in reverse + +# PASS test/ary.test.js + +ok 894 — ary is a Function +ok 895 — Discards arguments with index >=n # PASS test/stripHTMLTags.test.js @@ -1573,83 +1573,83 @@ ok 899 — Creates an array of key-value pair arrays from an object. ok 900 — objectFromPairs is a Function ok 901 — Creates an object from the given key-value pairs. -# PASS test/forOwn.test.js - -ok 902 — forOwn is a Function -ok 903 — Iterates over an element's key-value pairs - # PASS test/curry.test.js -ok 904 — curry is a Function -ok 905 — curries a Math.pow -ok 906 — curries a Math.min +ok 902 — curry is a Function +ok 903 — curries a Math.pow +ok 904 — curries a Math.min # PASS test/toDecimalMark.test.js -ok 907 — toDecimalMark is a Function -ok 908 — convert a float-point arithmetic to the Decimal mark form +ok 905 — toDecimalMark is a Function +ok 906 — convert a float-point arithmetic to the Decimal mark form + +# PASS test/forOwn.test.js + +ok 907 — forOwn is a Function +ok 908 — Iterates over an element's key-value pairs # PASS test/findLastIndex.test.js ok 909 — findLastIndex is a Function ok 910 — Finds last index for which the given function returns true -# PASS test/isNull.test.js - -ok 911 — isNull is a Function -ok 912 — passed argument is a null -ok 913 — passed argument is a null - # PASS test/pick.test.js -ok 914 — pick is a Function -ok 915 — Picks the key-value pairs corresponding to the given keys from an object. +ok 911 — pick is a Function +ok 912 — Picks the key-value pairs corresponding to the given keys from an object. -# PASS test/dropWhile.test.js +# PASS test/isNull.test.js -ok 916 — dropWhile is a Function -ok 917 — Removes elements in an array until the passed function returns true. +ok 913 — isNull is a Function +ok 914 — passed argument is a null +ok 915 — passed argument is a null # PASS test/filterNonUnique.test.js -ok 918 — filterNonUnique is a Function -ok 919 — Filters out the non-unique values in an array +ok 916 — filterNonUnique is a Function +ok 917 — Filters out the non-unique values in an array -# PASS test/atob.test.js +# PASS test/dropWhile.test.js -ok 920 — atob is a Function -ok 921 — atob("Zm9vYmFy") equals "foobar" -ok 922 — atob("Z") returns "" +ok 918 — dropWhile is a Function +ok 919 — Removes elements in an array until the passed function returns true. # PASS test/takeRightWhile.test.js -ok 923 — takeRightWhile is a Function -ok 924 — Removes elements until the function returns true +ok 920 — takeRightWhile is a Function +ok 921 — Removes elements until the function returns true + +# PASS test/atob.test.js + +ok 922 — atob is a Function +ok 923 — atob("Zm9vYmFy") equals "foobar" +ok 924 — atob("Z") returns "" # PASS test/removeNonASCII.test.js ok 925 — removeNonASCII is a Function ok 926 — Removes non-ASCII characters -# PASS test/remove.test.js - -ok 927 — remove is a Function -ok 928 — Removes elements from an array for which the given function returns false - # PASS test/delay.test.js -ok 929 — delay is a Function -ok 930 — Works as expecting, passing arguments properly +ok 927 — delay is a Function +ok 928 — Works as expecting, passing arguments properly -# PASS test/countOccurrences.test.js +# PASS test/remove.test.js -ok 931 — countOccurrences is a Function -ok 932 — Counts the occurrences of a value in an array +ok 929 — remove is a Function +ok 930 — Removes elements from an array for which the given function returns false # PASS test/defaults.test.js -ok 933 — defaults is a Function -ok 934 — Assigns default values for undefined properties +ok 931 — defaults is a Function +ok 932 — Assigns default values for undefined properties + +# PASS test/countOccurrences.test.js + +ok 933 — countOccurrences is a Function +ok 934 — Counts the occurrences of a value in an array # PASS test/omit.test.js @@ -1666,20 +1666,20 @@ ok 938 — Clamps num within the inclusive range specified by the boundary value ok 939 — intersection is a Function ok 940 — Returns a list of elements that exist in both arrays -# PASS test/parseCookie.test.js - -ok 941 — parseCookie is a Function -ok 942 — Parses the cookie - # PASS test/over.test.js -ok 943 — over is a Function -ok 944 — Applies given functions over multiple arguments +ok 941 — over is a Function +ok 942 — Applies given functions over multiple arguments # PASS test/truncateString.test.js -ok 945 — truncateString is a Function -ok 946 — Truncates a "boomerang" up to a specified length. +ok 943 — truncateString is a Function +ok 944 — Truncates a "boomerang" up to a specified length. + +# PASS test/parseCookie.test.js + +ok 945 — parseCookie is a Function +ok 946 — Parses the cookie # PASS test/pull.test.js @@ -1702,15 +1702,15 @@ ok 953 — 5 is not an even number ok 954 — findLast is a Function ok 955 — Finds last element for which the given function returns true -# PASS test/takeWhile.test.js - -ok 956 — takeWhile is a Function -ok 957 — Removes elements until the function returns true - # PASS test/times.test.js -ok 958 — times is a Function -ok 959 — Runs a function the specified amount of times +ok 956 — times is a Function +ok 957 — Runs a function the specified amount of times + +# PASS test/takeWhile.test.js + +ok 958 — takeWhile is a Function +ok 959 — Removes elements until the function returns true # PASS test/cloneRegExp.test.js @@ -1733,15 +1733,15 @@ ok 966 — tail is a Function ok 967 — Returns tail ok 968 — Returns tail -# PASS test/powerset.test.js - -ok 969 — powerset is a Function -ok 970 — Returns the powerset of a given array of numbers. - # PASS test/primes.test.js -ok 971 — primes is a Function -ok 972 — Generates primes up to a given number, using the Sieve of Eratosthenes. +ok 969 — primes is a Function +ok 970 — Generates primes up to a given number, using the Sieve of Eratosthenes. + +# PASS test/powerset.test.js + +ok 971 — powerset is a Function +ok 972 — Returns the powerset of a given array of numbers. # PASS test/fibonacci.test.js @@ -1778,25 +1778,25 @@ ok 984 — Converts the values of RGB components to a color code. ok 985 — hammingDistance is a Function ok 986 — retuns hamming disance between 2 values -# PASS test/serializeCookie.test.js +# PASS test/everyNth.test.js -ok 987 — serializeCookie is a Function -ok 988 — Serializes the cookie +ok 987 — everyNth is a Function +ok 988 — Returns every nth element in an array # PASS test/initial.test.js ok 989 — initial is a Function ok 990 — Returns all the elements of an array except the last one -# PASS test/everyNth.test.js - -ok 991 — everyNth is a Function -ok 992 — Returns every nth element in an array - # PASS test/unionBy.test.js -ok 993 — unionBy is a Function -ok 994 — Produces the appropriate results +ok 991 — unionBy is a Function +ok 992 — Produces the appropriate results + +# PASS test/serializeCookie.test.js + +ok 993 — serializeCookie is a Function +ok 994 — Serializes the cookie # PASS test/sleep.test.js @@ -1823,30 +1823,30 @@ ok 1002 — Returns the appropriate value ok 1003 — isSymbol is a Function ok 1004 — Checks if the given argument is a symbol +# PASS test/digitize.test.js + +ok 1005 — digitize is a Function +ok 1006 — Converts a number to an array of digits + # PASS test/call.test.js -ok 1005 — call is a Function -ok 1006 — Calls function on given object +ok 1007 — call is a Function +ok 1008 — Calls function on given object # PASS test/reverseString.test.js -ok 1007 — reverseString is a Function -ok 1008 — Reverses a string. - -# PASS test/digitize.test.js - -ok 1009 — digitize is a Function -ok 1010 — Converts a number to an array of digits - -# PASS test/isUndefined.test.js - -ok 1011 — isUndefined is a Function -ok 1012 — Returns true for undefined +ok 1009 — reverseString is a Function +ok 1010 — Reverses a string. # PASS test/getType.test.js -ok 1013 — getType is a Function -ok 1014 — Returns the native type of a value +ok 1011 — getType is a Function +ok 1012 — Returns the native type of a value + +# PASS test/isUndefined.test.js + +ok 1013 — isUndefined is a Function +ok 1014 — Returns true for undefined # PASS test/isDivisible.test.js @@ -1908,69 +1908,69 @@ ok 1034 — fibonacciCountUntilNum is a Function ok 1035 — recordAnimationFrames is a Function -# PASS test/UUIDGeneratorBrowser.test.js - -ok 1036 — UUIDGeneratorBrowser is a Function - # PASS test/getColonTimeFromDate.test.js -ok 1037 — getColonTimeFromDate is a Function +ok 1036 — getColonTimeFromDate is a Function -# PASS test/levenshteinDistance.test.js +# PASS test/UUIDGeneratorBrowser.test.js -ok 1038 — levenshteinDistance is a Function +ok 1037 — UUIDGeneratorBrowser is a Function # PASS test/isBrowserTabFocused.test.js -ok 1039 — isBrowserTabFocused is a Function +ok 1038 — isBrowserTabFocused is a Function -# PASS test/getScrollPosition.test.js +# PASS test/levenshteinDistance.test.js -ok 1040 — getScrollPosition is a Function +ok 1039 — levenshteinDistance is a Function # PASS test/fibonacciUntilNum.test.js -ok 1041 — fibonacciUntilNum is a Function +ok 1040 — fibonacciUntilNum is a Function # PASS test/isArmstrongNumber.test.js -ok 1042 — isArmstrongNumber is a Function +ok 1041 — isArmstrongNumber is a Function -# PASS test/initializeNDArray.test.js +# PASS test/getScrollPosition.test.js -ok 1043 — initializeNDArray is a Function +ok 1042 — getScrollPosition is a Function # PASS test/onUserInputChange.test.js -ok 1044 — onUserInputChange is a Function +ok 1043 — onUserInputChange is a Function -# PASS test/observeMutations.test.js +# PASS test/initializeNDArray.test.js -ok 1045 — observeMutations is a Function +ok 1044 — initializeNDArray is a Function # PASS test/detectDeviceType.test.js -ok 1046 — detectDeviceType is a Function +ok 1045 — detectDeviceType is a Function -# PASS test/copyToClipboard.test.js +# PASS test/observeMutations.test.js -ok 1047 — copyToClipboard is a Function +ok 1046 — observeMutations is a Function + +# PASS test/nodeListToArray.test.js + +ok 1047 — nodeListToArray is a Function # PASS test/speechSynthesis.test.js ok 1048 — speechSynthesis is a Function -# PASS test/elementContains.test.js +# PASS test/copyToClipboard.test.js -ok 1049 — elementContains is a Function +ok 1049 — copyToClipboard is a Function # PASS test/arrayToHtmlList.test.js ok 1050 — arrayToHtmlList is a Function -# PASS test/nodeListToArray.test.js +# PASS test/elementContains.test.js -ok 1051 — nodeListToArray is a Function +ok 1051 — elementContains is a Function # PASS test/createEventHub.test.js @@ -1980,21 +1980,21 @@ ok 1052 — createEventHub is a Function ok 1053 — mostPerformant is a Function -# PASS test/httpsRedirect.test.js +# PASS test/readFileLines.test.js -ok 1054 — httpsRedirect is a Function +ok 1054 — readFileLines is a Function # PASS test/createElement.test.js ok 1055 — createElement is a Function +# PASS test/httpsRedirect.test.js + +ok 1056 — httpsRedirect is a Function + # PASS test/bottomVisible.test.js -ok 1056 — bottomVisible is a Function - -# PASS test/readFileLines.test.js - -ok 1057 — readFileLines is a Function +ok 1057 — bottomVisible is a Function # PASS test/smoothScroll.test.js @@ -2004,41 +2004,41 @@ ok 1058 — smoothScroll is a Function ok 1059 — triggerEvent is a Function -# PASS test/removeVowels.test.js - -ok 1060 — removeVowels is a Function - # PASS test/insertBefore.test.js -ok 1061 — insertBefore is a Function +ok 1060 — insertBefore is a Function + +# PASS test/removeVowels.test.js + +ok 1061 — removeVowels is a Function # PASS test/howManyTimes.test.js ok 1062 — howManyTimes is a Function -# PASS test/insertAfter.test.js - -ok 1063 — insertAfter is a Function - # PASS test/hashBrowser.test.js -ok 1064 — hashBrowser is a Function +ok 1063 — hashBrowser is a Function -# PASS test/scrollToTop.test.js +# PASS test/insertAfter.test.js -ok 1065 — scrollToTop is a Function +ok 1064 — insertAfter is a Function + +# PASS test/countVowels.test.js + +ok 1065 — countVowels is a Function # PASS test/toggleClass.test.js ok 1066 — toggleClass is a Function -# PASS test/countVowels.test.js +# PASS test/scrollToTop.test.js -ok 1067 — countVowels is a Function +ok 1067 — scrollToTop is a Function -# PASS test/currentURL.test.js +# PASS test/httpDelete.test.js -ok 1068 — currentURL is a Function +ok 1068 — httpDelete is a Function # PASS test/JSONToDate.test.js @@ -2048,17 +2048,17 @@ ok 1069 — JSONToDate is a Function ok 1070 — JSONToFile is a Function -# PASS test/httpDelete.test.js +# PASS test/currentURL.test.js -ok 1071 — httpDelete is a Function - -# PASS test/isSimilar.test.js - -ok 1072 — isSimilar is a Function +ok 1071 — currentURL is a Function # PASS test/heronArea.test.js -ok 1073 — heronArea is a Function +ok 1072 — heronArea is a Function + +# PASS test/dayOfYear.test.js + +ok 1073 — dayOfYear is a Function # PASS test/timeTaken.test.js @@ -2068,85 +2068,85 @@ ok 1074 — timeTaken is a Function ok 1075 — squareSum is a Function -# PASS test/dayOfYear.test.js +# PASS test/isSimilar.test.js -ok 1076 — dayOfYear is a Function +ok 1076 — isSimilar is a Function # PASS test/isBrowser.test.js ok 1077 — isBrowser is a Function -# PASS test/runAsync.test.js +# PASS test/hasFlags.test.js -ok 1078 — runAsync is a Function - -# PASS test/hasClass.test.js - -ok 1079 — hasClass is a Function +ok 1078 — hasFlags is a Function # PASS test/setStyle.test.js -ok 1080 — setStyle is a Function +ok 1079 — setStyle is a Function -# PASS test/throttle.test.js +# PASS test/solveRPN.test.js -ok 1081 — throttle is a Function - -# PASS test/hasFlags.test.js - -ok 1082 — hasFlags is a Function +ok 1080 — solveRPN is a Function # PASS test/getStyle.test.js -ok 1083 — getStyle is a Function +ok 1081 — getStyle is a Function + +# PASS test/redirect.test.js + +ok 1082 — redirect is a Function + +# PASS test/colorize.test.js + +ok 1083 — colorize is a Function # PASS test/httpPost.test.js ok 1084 — httpPost is a Function -# PASS test/colorize.test.js +# PASS test/runAsync.test.js -ok 1085 — colorize is a Function +ok 1085 — runAsync is a Function -# PASS test/redirect.test.js +# PASS test/hasClass.test.js -ok 1086 — redirect is a Function +ok 1086 — hasClass is a Function -# PASS test/solveRPN.test.js +# PASS test/throttle.test.js -ok 1087 — solveRPN is a Function - -# PASS test/httpPut.test.js - -ok 1088 — httpPut is a Function +ok 1087 — throttle is a Function # PASS test/zipWith.test.js -ok 1089 — zipWith is a Function +ok 1088 — zipWith is a Function -# PASS test/counter.test.js +# PASS test/httpPut.test.js -ok 1090 — counter is a Function +ok 1089 — httpPut is a Function # PASS test/pipeLog.test.js -ok 1091 — pipeLog is a Function +ok 1090 — pipeLog is a Function + +# PASS test/factors.test.js + +ok 1091 — factors is a Function # PASS test/httpGet.test.js ok 1092 — httpGet is a Function -# PASS test/factors.test.js +# PASS test/counter.test.js -ok 1093 — factors is a Function - -# PASS test/prefix.test.js - -ok 1094 — prefix is a Function +ok 1093 — counter is a Function # PASS test/toHash.test.js -ok 1095 — toHash is a Function +ok 1094 — toHash is a Function + +# PASS test/prefix.test.js + +ok 1095 — prefix is a Function # PASS test/defer.test.js @@ -2156,17 +2156,17 @@ ok 1096 — defer is a Function ok 1097 — sumBy is a Function -# PASS test/hide.test.js +# PASS test/once.test.js -ok 1098 — hide is a Function +ok 1098 — once is a Function # PASS test/show.test.js ok 1099 — show is a Function -# PASS test/once.test.js +# PASS test/hide.test.js -ok 1100 — once is a Function +ok 1100 — hide is a Function # PASS test/nest.test.js @@ -2188,7 +2188,7 @@ ok 1104 — hz is a Function # Test Suites: 100% ██████████, 359 passed, 359 total # Tests: 100% ██████████, 1104 passed, 1104 total -# Time: 24.758s +# Time: 24.734s # Ran all test suites.