HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/tana/frontend/node_modules/locutus/php/array/array_product.js.map
{"version":3,"sources":["../../../src/php/array/array_product.js"],"names":["module","exports","array_product","input","idx","product","il","Object","prototype","toString","call","length","isNaN"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,aAAT,CAAwBC,KAAxB,EAA+B;AAAE;AAChD;AACA;AACA;AACA;;AAEA,MAAIC,MAAM,CAAV;AACA,MAAIC,UAAU,CAAd;AACA,MAAIC,KAAK,CAAT;;AAEA,MAAIC,OAAOC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BP,KAA/B,MAA0C,gBAA9C,EAAgE;AAC9D,WAAO,IAAP;AACD;;AAEDG,OAAKH,MAAMQ,MAAX;AACA,SAAOP,MAAME,EAAb,EAAiB;AACfD,eAAY,CAACO,MAAMT,MAAMC,GAAN,CAAN,CAAD,GAAqBD,MAAMC,GAAN,CAArB,GAAkC,CAA9C;AACAA;AACD;;AAED,SAAOC,OAAP;AACD,CArBD","file":"array_product.js","sourcesContent":["module.exports = function array_product (input) { // eslint-disable-line camelcase\n  //  discuss at: http://locutus.io/php/array_product/\n  // original by: Waldo Malqui Silva (http://waldo.malqui.info)\n  //   example 1: array_product([ 2, 4, 6, 8 ])\n  //   returns 1: 384\n\n  var idx = 0\n  var product = 1\n  var il = 0\n\n  if (Object.prototype.toString.call(input) !== '[object Array]') {\n    return null\n  }\n\n  il = input.length\n  while (idx < il) {\n    product *= (!isNaN(input[idx]) ? input[idx] : 0)\n    idx++\n  }\n\n  return product\n}\n"]}