Add spec for constructor-less param
This commit is contained in:
parent
b444b35215
commit
a1209b69b3
2 changed files with 8 additions and 1 deletions
8
spec/fixtures/module/no-prototype.js
vendored
8
spec/fixtures/module/no-prototype.js
vendored
|
@ -1,4 +1,10 @@
|
|||
const foo = Object.create(null)
|
||||
foo.bar = 'baz'
|
||||
foo.baz = false
|
||||
module.exports = {foo: foo, bar: 1234}
|
||||
module.exports = {
|
||||
foo: foo,
|
||||
bar: 1234,
|
||||
baz: function () {
|
||||
return 'hello'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue