Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/has-proto/index.js

    r0c6b92a r79a0317  
    66};
    77
    8 var $Object = Object;
     8// @ts-expect-error: TS errors on an inherited property for some reason
     9var result = { __proto__: test }.foo === test.foo
     10        && !(test instanceof Object);
    911
    1012/** @type {import('.')} */
    1113module.exports = function hasProto() {
    12         // @ts-expect-error: TS errors on an inherited property for some reason
    13         return { __proto__: test }.foo === test.foo
    14                 && !(test instanceof $Object);
     14        return result;
    1515};
Note: See TracChangeset for help on using the changeset viewer.