芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/www/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.flow
// @flow import type { Placement } from '../enums'; const hash = { start: 'end', end: 'start' }; export default function getOppositeVariationPlacement( placement: Placement ): Placement { return (placement.replace(/start|end/g, matched => hash[matched]): any); }