mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
got comments within object and array literals working out
This commit is contained in:
15
test/fixtures/inner_comments.js
vendored
Normal file
15
test/fixtures/inner_comments.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
(function(){
|
||||
var object = {
|
||||
a: 1,
|
||||
// Comments between the elements.
|
||||
b: 2,
|
||||
// Like this.
|
||||
c: 3
|
||||
};
|
||||
var array = [1,
|
||||
// Comments between the elements.
|
||||
2,
|
||||
// Like this.
|
||||
3
|
||||
];
|
||||
})();
|
||||
Reference in New Issue
Block a user