Skip to content

Commit

Permalink
Add discouraged feature for arguments.callee
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbeck committed Feb 17, 2025
1 parent 8efe473 commit 9a1f94a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions features/arguments-callee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: arguments.callee
description: The `callee` property of the `arguments` variable in a non-strict function body's local scope is the function that `arguments` belongs to.
spec: https://tc39.es/ecma262/multipage/ordinary-and-exotic-objects-behaviours.html#sec-arguments-exotic-objects
group: javascript
discouraged:
# From note 4: "The definition of this property […] exists to ensure that it
# is not defined in any other manner by conforming ECMAScript
# implementations."
according_to: https://tc39.es/ecma262/multipage/ordinary-and-exotic-objects-behaviours.html#sec-arguments-exotic-objects
compat_features:
- javascript.functions.arguments.callee
15 changes: 15 additions & 0 deletions features/arguments-callee.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Generated from: arguments-callee.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
- javascript.functions.arguments.callee

0 comments on commit 9a1f94a

Please sign in to comment.