You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

497 B

Letter Space Number

Instructions

Create a function named letterSpaceNumber that accepts a string; returning an array with every instance of a letter, followed by a space, followed by a number, only if that number has only one digit, and is not followed by any letter.

Examples

console.log(letterSpaceNumber('example 1, example 20'))
// output: ['e 1']

Notions