mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
9 lines
175 B
TypeScript
9 lines
175 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @Filename: bug38934.js
|
|
|
|
var x = {};
|
|
// should not crash and also should not result in a property '0' on x.
|
|
x[(0)] = 1;
|