I hereby claim:
- I am cenkce on github.
- I am cenkce (https://keybase.io/cenkce) on keybase.
- I have a public key ASC-gr0h_WL5mVX2DVovhlHULn_2Ts-nUed-Ucdtm9S05wo
To claim this, I am signing this object:
| const firstArray = ['a', 'b', 'c', 'd', 'e']; | |
| const secondArray = ['a', 'b', 'c', 'x', 'a', 'k', 'x','a','r']; | |
| const acc = {}; | |
| const table = {}; | |
| function explore(val){ | |
| if(val !== undefined && !acc[val]){ | |
| table[val] = true; | |
| } else if(val !== undefined) { |
I hereby claim:
To claim this, I am signing this object:
| class StylingComponent { | |
| } | |
| StylingComponent.$$styleContext = { | |
| classNames: "", | |
| userProps: { | |
| width: null, | |
| height: null, | |
| paddingLeft: 10, | |
| paddingRight: 10 |
| const getId = (start): (() => number) => (): number => start++; | |
| export class SomeData { | |
| static getId = getId(0); | |
| public icon: string; | |
| public text: string = ""; | |
| public color: string; | |
| public idPrefix: string = 'data-'; | |
| public id: string; |
| function isObj(val){ | |
| return val !== null && typeof val === "object"; | |
| } | |
| function recurse(acc, obj){ | |
| for (var p in obj) { | |
| acc[p] = isObj(obj[p]) ? recurse(acc[p] || {}, obj[p]) : obj[p]; | |
| } | |
| return acc; |