14 lines
249 B
JavaScript
14 lines
249 B
JavaScript
'use strict'
|
|
|
|
/* eslint no-extend-native: off */
|
|
|
|
const { test } = require('node:test')
|
|
|
|
// Something could extend the Array prototype
|
|
Array.prototype.test = null
|
|
test('for-in-loop', t => {
|
|
t.assert.doesNotThrow(() => {
|
|
require('../')
|
|
})
|
|
})
|