Closed JakeChampion closed 5 years ago
https://mikesamuel.github.io/evalable/#sec-iscodelike
2.2 Runtime Semantics: IsCodeLike ( x, currentRealm ) The abstract operation IsCodeLike with argument x, currentRealm performs the following steps: If Type(x) is not String, return true. If Type(x) is Object, then a. Let evalable be ? Get(x, @@evalable). b. Return ToBoolean(evalable). Return false.
2.2 Runtime Semantics: IsCodeLike ( x, currentRealm ) The abstract operation IsCodeLike with argument x, currentRealm performs the following steps:
Thanks. I'm an idiot. That "not" shouldn't be there. Will fix.
https://mikesamuel.github.io/evalable/#sec-iscodelike