• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3const { mustNotCall, mustCall } = require('../common');
4
5Object.defineProperties(Object.prototype, {
6  then: {
7    set: mustNotCall('set %Object.prototype%.then'),
8    get: mustNotCall('get %Object.prototype%.then'),
9  },
10});
11
12import('data:text/javascript,').then(mustCall());
13