Monday, April 13, 2015

How can I convert a string to boolean in JavaScript?

var isTrueSet = (myValue === 'true');

No comments:

Post a Comment