archives

« Bugzilla Issues Index

#1206 — [8.3.19.2.1]: Add assertion to test value for @@create is callable


The @@create property must be callable, otherwise [8.3.19.2.1 - step 3a] cannot be executed. Most likely you also want to assert that the returned `obj` in step 3a is an object.


corrected in rev 14 editor's draft

I put in an IsCallable check.

I haven't done this year, but I'm half included to also recognize null as an explicit request to use the default allocator.


in Rev 14 draft