checkLength

node v10.21.0
version: 3.0.0
endpointsharetweet
// Check if the number at the end of the string is equal to the length of the string without the number function checkLength(str) { } console.log(checkLength('october7')) // returns true console.log(checkLength('october11')) // returns false console.log(checkLength('0ctober7')) // returns true
Loading…

no comments

    sign in to comment