📌  相关文章
📜  @babel plugin-proposal-optional-chaining - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:20.551000             🧑  作者: Mango

代码示例1
npm install --save-dev @babel/plugin-proposal-optional-chaining
// Add it to the plugins array
require("@babel/core").transform("code", {
  plugins: ["@babel/plugin-proposal-optional-chaining"]
});