diff --git a/solutions/javascript/micro-blog/1/micro-blog.js b/solutions/javascript/micro-blog/1/micro-blog.js new file mode 100644 index 0000000..c1b1599 --- /dev/null +++ b/solutions/javascript/micro-blog/1/micro-blog.js @@ -0,0 +1,6 @@ +// +// This is only a SKELETON file for the 'Micro-blog' exercise. It's been provided as a +// convenience to get you started writing code faster. +// + +export const truncate = (input) => Array.from(input).slice(0,5).join('')