Possible bug in representer for JavaScript

This solution for Forth in JavaScript is showing the number of lines as 2. I think the representer is getting tripped up by the /* at line 2.

1 Like

It’s not the representer but the “line counter”.

I do think that you are correct that it’s thinking it’s a comment.

However… your snipper also looks broken.

image

The snippet extractor looks configured correctly though: snippet-extractor/lib/languages/javascript.txt at main · exercism/snippet-extractor · GitHub

It does not encounter */, so I don’t now what’s happening.