📜  ReferenceError:找不到变量:atob - Javascript 代码示例

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

代码示例1
import {decode, encode} from 'base-64'

if (!global.btoa) {  global.btoa = encode }

if (!global.atob) { global.atob = decode }