Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  
  <script src="https://unpkg.com/react@16.0.0-alpha.9/umd/react.production.min.js"></script>
</body>
</html>
 
var element = React.createElement( 'div', null, 'element' );
var string = 'string';
var undef = undefined;
console.log( React.Children.toArray( element ) );
console.log( React.Children.toArray( string ) );
console.log( React.Children.toArray( undef ) );
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers