<script>var a={}a.name='hahaha';a.age=20;a.say=function(){"hello"};document.write(a.say())</script>/*为啥访问对象 say的时候 浏览器输出的是 undefined呀,是不能直接输出函数值?*/
2020-04-28回答次数:2访问次数:778
<?phpclass Demo01{ public function say(){ echo 'hello'; } }
2019-03-05回答次数:0访问次数:590
1.第三行代码没有理解。 第三行应该是实现了 给super_robot添加 data作为原型对象。那为什么不是 SuperRobot.__proto__=data;而是say.__proto__=data; ??2. {代码...}
2017-05-18回答次数:3访问次数:347
请问为什么alert中最后弹出的数据是父作用域的 点击执行子域的say方法的结果 代码如下: {代码...}
2017-05-15回答次数:1访问次数:382
class Person{ public function say(){ echo '我喜欢唱跳,rap,篮球'; }}class Caixukun{ private $person; public functio
2019-05-12评论:0访问次数:198
Bitcoin has been the natural choice for crypto investors for decades. It’s fair to say that it achieved market leader status by default
2024-07-16评论:访问次数:410
For innovation, adoption and impact, gaming stands out as a leading use case for blockchain technology, say Leah Callon-Butler and Nathan Smale
2024-07-16评论:访问次数:445
This is because Bitcoin and Ethereum have historically outperformed during the month. Analysts at QCP Capital say that Bitcoin's median return in July was ...
2024-07-02评论:访问次数:677
While most coins are worth just what they say, some rare coins can fetch a much higher price. Collecting commemorative coins can be exciting
2024-06-24评论:访问次数:818
We can rightly say that Notcoin (NOT), the recently launched Telegram-powered cryptocurrency, has become one of the most widely discussed projects in the W...
2024-06-27评论:访问次数:320