Pinned Loading
- react-elastic-carousel
react-elastic-carousel PublicA flexible and responsive carousel component for react https://sag1v.github.io/react-elastic-carousel
- react-only-when
react-only-when PublicA declarative component for conditional rendering
- A run-time type checker with proxies
A run-time type checker with proxies 1functiontypeCheck(obj,definition){
2returnnewProxy(obj,{
3set(obj,key,value){
4if(keyindefinition&&typeofvalue!==definition[key]){
5thrownewTypeError(`Invalid type of ${key} '${typeofvalue}'. expected to be '${definition[key]}'`)
- OOP-Javascript-Presentation
OOP-Javascript-Presentation PublicJavaScript presentation about OOP (using Spectacle) https://sag1v.github.io/OOP-Javascript-Presentation/
- A simple implementation of undo and ...
A simple implementation of undo and redo in JavaScript 1conststripLast=arr=>{
2// split the last item from an array and return a tupple of [rest, last]3constlength=arr.length;
4constlastItem=arr[length-1];
5constrestOfArr=arr.slice(0,length-1);
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.
Uh oh!
There was an error while loading. Please reload this page.



