<<<<<<< HEAD Code Wars - Brett Crafton

Convert a Boolean to a String

Question

Implement a function which convert the given boolean value into its string representation. Note: Only valid inputs will be given.

No examples

Solution by -

My Solution


	function booleanToString(b){
		return b == true ? "true" : "false"
		}
				

Try it yourself - CodeWars

======= Code Wars - Brett Crafton

Convert a Boolean to a String

Question

Implement a function which convert the given boolean value into its string representation. Note: Only valid inputs will be given.

No examples

Solution by -

My Solution


	function booleanToString(b){
		return b == true ? "true" : "false"
		}
				

Try it yourself - CodeWars

>>>>>>> 0e614172debaa009c8d31330edbeb3b765b59c39