bananass
Version:
Baekjoon Framework for JavaScript.🍌
15 lines (14 loc) • 363 B
TypeScript
/**
* @import { PluginObj } from '@babel/core';
*/
/**
* Transform ES2023 `Array.prototype.toReversed()` to `Array.prototype.slice().reverse()`.
*
* Compatibility: ES3
* - `slice()`: ES3
* - `reverse()`: ES1
*
* @return {PluginObj}
*/
export default function transformArrayPrototypeToReversed(): PluginObj;
import type { PluginObj } from '@babel/core';