mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05: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));
|