Skip to content

Instantly share code, notes, and snippets.

@Aminadav
Last active May 9, 2018 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aminadav/105c2e969ad71254866ae1028cd539a1 to your computer and use it in GitHub Desktop.
Save Aminadav/105c2e969ad71254866ae1028cd539a1 to your computer and use it in GitHub Desktop.
אותיות אלף בית לספר
var str=''
var nikud=
[
String.fromCharCode(1460),
String.fromCharCode(1460) + 'י',
String.fromCharCode(1461),
String.fromCharCode(1462),
String.fromCharCode(1463),
String.fromCharCode(1464),
String.fromCharCode(1465),
'ו' + String.fromCharCode(1465),
String.fromCharCode(1467),
'ו' + String.fromCharCode(1468),
String.fromCharCode(1456),
]
var letters=[
String.fromCharCode(1488),
String.fromCharCode(1489),String.fromCharCode(1489) + String.fromCharCode(1468)]
for (var i=1490;i<=1497;i++){
letters.push(String.fromCharCode(i))
}
letters.push(
String.fromCharCode(1499),
String.fromCharCode(1499) + String.fromCharCode(1468)
)
for (var i=1500;i<=1506;i++){
if(i==1501 || i==1503 || i==1507) continue;
letters.push(String.fromCharCode(i))
}
letters.push(
String.fromCharCode(1508),
String.fromCharCode(1508) + String.fromCharCode(1468)
)
for (var i=1510;i<=1514;i++){
if( i==1509) continue;
letters.push(String.fromCharCode(i))
}
for (var i in letters) {
for(x in nikud) {
str+=letters[i]
str+=nikud[x]
str+=' '
}
str+='\n'
}
console.log(str)
copy(str)
x=$0.value
var p=[]
p[0]=(x[4])
var str=''
for (var i=1488;i<1515;i++) {
for(var j=1460;j<1468;j++) {
if(j==1466) continue;
str+=String.fromCharCode(i)
str+=String.fromCharCode(j)
str+=' '
}
str+='\n'
}
console.log(str)
copy(str)
console.log(x.charCodeAt(4))
x=$0.value
var p=[]
p[0]=(x[4])
var str=''
i='1508'
for(var j=1460;j<1468;j++) {
if(j==1466) continue;
str+=String.fromCharCode(i)
str+=String.fromCharCode(1468)
str+=String.fromCharCode(j)
str+=' '
}
str+='\n'
console.log(str)
copy(str)
console.log(x.charCodeAt(4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment