Fix attributes of length property for builtin objects (#3556)

* length property has the attributes {[[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true} based on ECMA-262 v6, 19.2.4.1

JerryScript-DCO-1.0-Signed-off-by: HyukWoo Park [email protected]
This commit is contained in:
Hyukwoo Park authored and GitHub committed 2020-02-14 10:25:26 +01:00
1 parent 4d67ac3225
commit 54e4de39ab
34 files changed
+140 -58

No files matched your search

@@ -13,4 +13,4 @@
* limitations under the License.
*/
assert (Promise.prototype.length === 1);
assert (Promise.length === 1);