Created
March 5, 2014 20:41
-
-
Save kuwalab/9376145 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>ほげ</title> | |
</head> | |
<body> | |
/sに全角のスペースを含む? <span id="test"></span> | |
<script> | |
var $test = document.getElementById('test'); | |
$test.innerHTML = /\s/.test(' ') + ""; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment