PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/metro/src/integration_tests/basic_bundle

Просмотр файла: ErrorBundle.js.flow

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 * @flow strict
 */

'use strict';

// Add a random require to fill the bundle with some sourcecode.
require('./AssetRegistry');

const calcSum = (value: string) => {
  // some random function
  const error = new Error('SOURCEMAP: value: ' + value);

  return error;
};

module.exports = (calcSum('anything'): Error);

Выполнить команду


Для локальной разработки. Не используйте в интернете!