Skip to content

Instantly share code, notes, and snippets.

Avatar

Carbide Public carbide-public

View GitHub Profile
View untitled.carbide.md
View cell0.js
class MyClass {
a = 1;
b = 2;
constructor(overwrite){
Object.assign(this, overwrite);
console.log(this)
}
}
View cell0.js
let url = 'https://api.github.com/repos/StrangeRanger/customized-unix-terminal/releases/latest';
fetch(url)
.then(res => res.json())
.then((out) => {
console.log('Checkout this JSON! ', out);
})
.catch(err => { throw err });
View untitled.carbide.md