mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
3 lines
103 B
JavaScript
3 lines
103 B
JavaScript
|
print('hello, world'.split().reduce(function (sum, char) {
|
||
|
return sum + char.charCodeAt(0);
|
||
|
}, 0));
|