« Bugzilla Issues Index
#3600 — 7.2.3 IsCallable: Change to algorithm steps?
- bug_id:
3600
- creation_ts:
2015-01-23 13:06:00 -0800
- short_desc:
7.2.3 IsCallable: Change to algorithm steps?
- delta_ts:
2015-02-02 18:39:06 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 31: January 15, 2015 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
11610
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-01-23 13:06:04 -0800
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.
---
- commentid:
11709
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-01-23 17:42:01 -0800
fixed in rev32 editor's draft
- commentid:
12053
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-02 18:39:06 -0800
fixed in rev32 draft