codinasion-archive / codinasion-programme

An open source codebase for sharing programming solutions.
https://codinasion.vercel.app/programme
MIT License
62 stars 147 forks source link

Length of string #860

Closed harshraj8843 closed 2 years ago

harshraj8843 commented 2 years ago

Title of programme

Write a JavaScript programme to find the length of string.

Additional information

Input  : abcd
Output : 4

Code of Conduct

godwin-olele commented 2 years ago

hey @harshraj8843 ,you can just do e.g

let name= "harsh raj"; console.log(name.length);

hope this helps

harshraj8843 commented 2 years ago

hey @harshraj8843 ,you can just do e.g

let name= "harsh raj"; console.log(name.length);

hope this helps

Hey @Godwindaniel10, could you please raise a PR for this 👍🏻

godwin-olele commented 2 years ago

hey @harshraj8843 ,you can just do e.g let name= "harsh raj"; console.log(name.length); hope this helps

Hey @Godwindaniel10, could you please raise a PR for this 👍🏻 Alright