Block or Report
Block or report maumchaves
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
next-routes
next-routes PublicForked from fridays/next-routes
Universal dynamic routes for Next.js
JavaScript
-
-
separate stateful-logic-component.tsx
separate stateful-logic-component.tsx 1/*
2* By Dan Abramov, @dan_abramov
3* https://mobile.twitter.com/dan_abramov/status/1018945865745084416
4*/
5 -
Custom implementation of Array.push(...
Custom implementation of Array.push() as described by Douglas Crockford in his book "JavaScript: The Good Parts". The breakdown / analysis is my own. 1/* TL;DR:
2* The method replicates the functionality of Array.push
3* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push
4* Array.method("myFunction", function() {}) is just an imaginary pre-implemented function that
5* is equivalent to Array.prototype.myFunction = function() {}
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.