See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
content = { | |
"description": "TITLE ", | |
"public": false, | |
"files": | |
{ | |
"post1.md": { | |
"content": "THIS IS WHERE CONTENT WILL BE PUT" | |
} | |
} |
// access token in setting then developer | |
const token = access_token | |
const githubgist = async ()=>{ | |
let res = await fetch('https://api.github.com/gists',{ | |
'headers': {'Authorization': `token ${token}`} | |
}) | |
let data = await (res.json()) | |
console.log(data) |
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |