Skip to content

Commit

Permalink
feat(shared): export Detached Object.prototype.propertyIsEnumerable f…
Browse files Browse the repository at this point in the history
…rom language.ts
  • Loading branch information
gaurav-rk9 committed Feb 25, 2025
1 parent d6d1477 commit e7ecf15
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/@lwc/shared/src/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ const {
setPrototypeOf,
} = Object;

/** Detached {@linkcode Object.prototype.propertyIsEnumerable}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/propertyIsEnumerable MDN Reference}. */
const { propertyIsEnumerable } = Object.prototype;

const {
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */
isArray,
Expand Down Expand Up @@ -230,6 +233,10 @@ export {
keys,
seal,
setPrototypeOf,
/*
* Object prototype
*/
propertyIsEnumerable,
/*
* String static
*/
Expand Down

0 comments on commit e7ecf15

Please sign in to comment.