Please, I need your expertise help to convert the following segment of code written in another language to javascript:

const
Consonants = ['b','B','c','C','d','D','f','F','g','G',
'h','H','j','J','k','K','l','L','m','M','n','N',
'','','p','P','q','Q','r','R','s','S','t','T',
'v','V','w','W','x','X','y','Y','z','Z'];
StrongVowels = ['a','A','','','e','E','','',
'','','o','','O','','',''];
WeakVowels = ['i','I','u','U','',''];
Vowels = StrongVowels + WeakVowels;
Letters = Vowels + Consonants;
var
i, j, n, m, hyphen: integer;


Many thanks in advance.


LeTchev