Last active
March 15, 2021 08:57
-
-
Save davidkhala/2fe89f19304db9e3dba6108321b33b27 to your computer and use it in GitHub Desktop.
Revisions
-
davidkhala revised this gist
Mar 15, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ build CLI binary from npm package - https://developer.okta.com/blog/2019/06/18/command-line-app-with-nodejs -
davidkhala created this gist
Feb 1, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ - Ternary Operator in some case could be simplified as `a = a ? a : b` => `a = a || b` - console.log() accepts 3 format symbols, `%s` => `string`, `%d` => `integer`, and `%j` => `JSON data`