-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b2adff
commit e908636
Showing
11 changed files
with
118 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// variable name is 'mu' | ||
// the only value stored is 'mu' | ||
// the two keys are 'whol' & 'rede' | ||
// but somehow defined by each other | ||
// !! reflect | ||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect | ||
|
||
// ---------- | ||
|
||
class Mu { | ||
get Reductionism() { | ||
// debugger; | ||
return this instanceof Reductionism ? new Wholism() : new Reductionism(); | ||
} | ||
get Wholism() { | ||
// debugger; | ||
return this instanceof Wholism ? new Reductionism() : new Wholism(); | ||
} | ||
} | ||
class Wholism extends Mu {} | ||
class Reductionism extends Mu {} | ||
|
||
const r = new Reductionism(); | ||
const w = new Wholism(); | ||
|
||
console.log(r.Wholism, w.Reductionism); | ||
|
||
// -------- | ||
|
||
// class Reductionism extends Mu {} | ||
// class Mu extends Wholism {} | ||
// class Wholism extends Reductionism {} | ||
|
||
// ------- | ||
|
||
// const mu = new String('mu'); | ||
// // Object.setPrototypeOf(mu, mu); | ||
// mu.__proto__.__proto__ = mu; | ||
// console.log(mu.__proto__.__proto__); | ||
|
||
// ---------- | ||
|
||
// but where's the mu in this?2 | ||
// reflect? | ||
// const wholism = () => reductionism; | ||
// const reductionism = () => wholism; | ||
|
||
// ---------- | ||
|
||
// not so much, maybe clases? | ||
// mu = { | ||
// get wholism() { | ||
// return this; | ||
// }, | ||
// get reductionism() { | ||
// return this; | ||
// }, | ||
// }; | ||
|
||
// console.log(mu.wholism); | ||
|
||
// https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse3.mm.bing.net%2Fth%3Fid%3DOIP.IEpeeWykfDy_wVjvK7vkbwHaFM%26pid%3DApi&f=1&ipt=56cc492262d99d03355a67f077fe81f82294d9fe9d833d737b488de925b889f0&ipo=images |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// tags: sketch |
Empty file.
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
eval((recurseval = 'eval(recurseval)')); | ||
|
||
// tags: useless |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(function recurseval() { | ||
eval(`(${recurseval.toString()})()`); | ||
})(); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// how to find the line number in an error? | ||
// otherwise set a global listener | ||
|
||
window.addEventListener('error', (e) => { | ||
console.log(e); | ||
}); | ||
|
||
steamroll('asdf'); | ||
|
||
function steamroll(code, refactors) { | ||
code = code || ''; | ||
refactors = refactors || []; | ||
|
||
try { | ||
eval(code); | ||
} catch (err) { | ||
console.error(err); | ||
} | ||
} | ||
|
||
// inspiration: https://github.com/mattdiamond/fuckitjs |