Simple markdown to style your tasks description
**bold** | _italic_ | `code` | [text](url) | |
---|---|---|---|---|
Renders As | bold | italic | code |
link |
RIDDLE: | |
https://dev.to/nombrekeff/challenge-can-you-solve-this-puzzle-1947 | |
ANSWER: | |
Oh, Ann, please kiss me dry! | |
CLUES: | |
* Decoded ASCII message with correct punctuation suggests some kind of early character based encryption (not full binary encryption). |
/** | |
* returns an array containing all paths to a value other than an object | |
* @param {object} obj | |
*/ | |
function flattenObject(obj) { | |
if (typeof obj !== 'object') { | |
return []; | |
} | |
Simple markdown to style your tasks description
**bold** | _italic_ | `code` | [text](url) | |
---|---|---|---|---|
Renders As | bold | italic | code |
link |
function logClass(target: any) { | |
// save a reference to the original constructor | |
var original = target; | |
// a utility function to generate instances of a class | |
function construct(constructor, args) { | |
var c : any = function () { | |
return constructor.apply(this, args); | |
} |
function log(target, key, descriptor: PropertyDescriptor) { | |
var originalMethod = descriptor.value; | |
descriptor.value = function(...args: any[]) { | |
let functionName = key; | |
console.log(functionName + "(" + args.join(", ") + ")"); | |
let result = originalMethod.apply(this, args); | |
console.log("=> " + result); | |
return result; | |
}; |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
/** | |
* ValidateSpanishID. Returns the type of document and checks its validity. | |
* | |
* Usage: | |
* ValidateSpanishID( str ); | |
* | |
* > ValidateSpanishID( '12345678Z' ); | |
* // { type: 'dni', valid: true } | |
* | |
* > ValidateSpanishID( 'B83375575' ); |
console.reset = function () { | |
return process.stdout.write('\033c'); | |
} |