Replacing constants with some other in JavaScript
<pre><code>const Name = 'Name ';
const Name_USER_PASSWORD = 'Name ';
const Name= 'Name ';
const USER_FULL_NAME = 'FullName';
</code></pre>

<p>I have such 50 constants in my project, but i thought is there any better way to adapt this with some technique in javascript. Like putting them in prototype or something else. </p>
