Skip to content

Commit 88e2f2f

Browse files
committed
Add discouraged feature for arguments.callee
See-also: mdn/browser-compat-data#18384
1 parent 241e305 commit 88e2f2f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

features/arguments-callee.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: arguments.callee
2+
description: The `callee` property of the `arguments` variable in a non-strict function body's local scope is the function that `arguments` belongs to.
3+
spec: https://tc39.es/ecma262/multipage/ordinary-and-exotic-objects-behaviours.html#sec-arguments-exotic-objects
4+
group: javascript
5+
discouraged:
6+
# From note 4: "The definition of this property […] exists to ensure that it
7+
# is not defined in any other manner by conforming ECMAScript
8+
# implementations."
9+
according_to:
10+
- https://tc39.es/ecma262/multipage/ordinary-and-exotic-objects-behaviours.html#sec-arguments-exotic-objects
11+
compat_features:
12+
- javascript.functions.arguments.callee

features/arguments-callee.yml.dist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Generated from: arguments-callee.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "1"
8+
chrome_android: "18"
9+
edge: "12"
10+
firefox: "1"
11+
firefox_android: "4"
12+
safari: "1"
13+
safari_ios: "1"
14+
compat_features:
15+
- javascript.functions.arguments.callee

0 commit comments

Comments
 (0)