preArgs is adding a blank

Hi, in a Menu widget i have some key value pairs.

The label and the preArgs property share the same code to display the selected key of the menu.

JS {{
var values = @{this.values},
v = @{this};
return Object.keys(values).find(k => values[k] == v);
}}

This code adds in the preArgs property a blank and caused a problem in the custom module (easily avoidable with the trim function), where is this blank coming from ?
(in the keys is no blank).

Thanks...

Probably a space before JS{{ ? O-S-C doesn’t add a space on its own here.