mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +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));
|