Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 6, 2024
1 parent 9e97ce6 commit f42b12d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/babel-helpers/src/helpers/toSetter.js
@@ -1,5 +1,8 @@
/* @minVersion 7.22.0 */

// NOTE: This function returns an object with a `_` that is
// meant to be used only once.

export default function _toSetter(fn, thisArg) {
var args = [].slice.call(arguments, 2);
return Object.defineProperty({}, "_", {
Expand Down

0 comments on commit f42b12d

Please sign in to comment.