mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +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));
|