pantry/projects/mujs.com/test.js

3 lines
103 B
JavaScript
Raw Normal View History

print('hello, world'.split().reduce(function (sum, char) {
return sum + char.charCodeAt(0);
}, 0));