diff --git "a/Insung-Jo/level_0/\353\254\270\354\236\220\354\227\264\354\235\230\342\200\205\353\222\244\354\235\230\342\200\205n\352\270\200\354\236\220.js" "b/Insung-Jo/level_0/\353\254\270\354\236\220\354\227\264\354\235\230\342\200\205\353\222\244\354\235\230\342\200\205n\352\270\200\354\236\220.js" new file mode 100644 index 0000000..3809ef4 --- /dev/null +++ "b/Insung-Jo/level_0/\353\254\270\354\236\220\354\227\264\354\235\230\342\200\205\353\222\244\354\235\230\342\200\205n\352\270\200\354\236\220.js" @@ -0,0 +1,3 @@ +function solution(my_string, n) { + return my_string.substring(+my_string.length - n); +} diff --git "a/Insung-Jo/level_0/\353\260\260\354\227\264\342\200\205\354\233\220\354\206\214\354\235\230\342\200\205\352\270\270\354\235\264.js" "b/Insung-Jo/level_0/\353\260\260\354\227\264\342\200\205\354\233\220\354\206\214\354\235\230\342\200\205\352\270\270\354\235\264.js" new file mode 100644 index 0000000..f4ec8ad --- /dev/null +++ "b/Insung-Jo/level_0/\353\260\260\354\227\264\342\200\205\354\233\220\354\206\214\354\235\230\342\200\205\352\270\270\354\235\264.js" @@ -0,0 +1,3 @@ +function solution(strlist) { + return strlist.map((str) => str.length); +}