archives

« Bugzilla Issues Index

#3600 — 7.2.3 IsCallable: Change to algorithm steps?


7.2.3 IsCallable ( argument )

Using steps for IsCallable requires less space compared to the current table form and makes it look more uniform (cf. IsConstructor, IsArray, etc.).

---
1. ReturnIfAbrupt(argument).
2. If Type(argument) is not Object, return false.
3. If argument has a [[Call]] internal method, return true.
4. Return false.
---


fixed in rev32 editor's draft


fixed in rev32 draft