Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ts.corals.io/frontend/node_modules/sweetalert2/src/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ts.corals.io/frontend/node_modules/sweetalert2/src/utils/WeakMap.js
// WeakMap polyfill, needed for Android 4.4
// Related issue: https://github.com/sweetalert2/sweetalert2/issues/1071
// http://webreflection.blogspot.fi/2015/04/a-weakmap-polyfill-in-20-lines-of-code.html

import Symbol from './Symbol'

/* istanbul ignore next */
export default typeof WeakMap === 'function' ? WeakMap : ((s, dP, hOP) => {
  function WeakMap () {
    dP(this, s, { value: Symbol('WeakMap') })
  }
  WeakMap.prototype = {
    'delete': function del (o) {
      delete o[this[s]]
    },
    get: function get (o) {
      return o[this[s]]
    },
    has: function has (o) {
      return hOP.call(o, this[s])
    },
    set: function set (o, v) {
      dP(o, this[s], { configurable: true, value: v })
    }
  }
  return WeakMap
})(Symbol('WeakMap'), Object.defineProperty, {}.hasOwnProperty)

Spamworldpro Mini