-
π Iβm currently working on Nelnet Philippines Inc.
-
π¨βπ» All of my projects are available at https://baeq.dev
-
π« How to reach me bryanadummy01@gmail.com
-
π Know about my experiences https://github.com/brynldrn
π
Working from home
Senior Software Engineer
-
Nelnet Philippines Inc.
- Manila, Philippines
- https://baeq.dev
Pinned Loading
-
-
-
Converts an array into chunks
Converts an array into chunks 1// https://stackoverflow.com/a/37826698/7950729
2const chunk = 25;
34inputArray.reduce((all,one,i) => {
5const ch = Math.floor(i/chunk);
-
Simple plain JS to get all the sibli...
Simple plain JS to get all the siblings of a given element 1export default elem => {
2var siblings = [];
3var sibling = elem.parentNode.firstChild;
45for ( ; sibling; sibling = sibling.nextSibling )
-
unwrapElement.js
unwrapElement.js 1export const unwrapElement = (node) => (node.replaceWith(...node.childNodes))
-
Removes distinct values from an arra...
Removes distinct values from an array of objects 1const distinct = (array, property) => (
2array.filter((value, index, self) => self.map((x) => x[property]).indexOf(value[property]) === index)
3)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.