1'use strict'; 2 3require('../common'); 4 5const assert = require('assert'); 6 7assert.strictEqual(typeof DOMException, 'function'); 8 9assert.throws(() => { 10 atob('我要抛错!'); 11}, DOMException); 12