String.prototype.lengthbeginner'hello'.length // β 5
''.length // β 0
'π'.length // β 2The length property returns the number of UTF-16 code units in the string.
An empty string '' has a length of 0.
Challenge: Implement isEmpty(str) that returns true if the string has length 0.
isEmpty('') // β true
isEmpty('hello') // β false