Write a function to find the character(s) in the middle of the provided string in Javascript?

后端 未结 0 1869
梦谈多话
梦谈多话 2020-12-21 11:51

I have done bit of a code but confused. So if anyone can help! would be great help!

let name= \'Hello World\';
let start;
let end;

if (name.length % 2 === 0)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题