the javascript below is the line 13 and the h1 is my html tag index.js:13未捕获TypeError:无法在index.js:13处设置null的属性“”innerHTML“” <h1 id="text">javascript practice</h1>
document.getElementById('text').innerHTML
我正在尝试显示一个带有标记的谷歌地图。我正在使用React.js。地图显示在正确的位置,但标记未显示,并且我在浏览器控制台中收到多个'object is not extensible‘错误/** @jsx React.DOM */this.initialize(); render:function(){ }来自控制台