Closed YellowPure closed 8 years ago
I changed some code : <if (timing.hasOwnProperty(k)) > to <if (k in timing)>
<if (timing.hasOwnProperty(k)) >
<if (k in timing)>
then i can use it like <timing.printTable(window.performace.timing)>
<timing.printTable(window.performace.timing)>
is that ture?
I'm also experiencing this. performance.timing.hasOwnProperty('...') // always false
@amk221 like this https://github.com/addyosmani/timing.js/issues/20 ?
Yep
I changed some code :
<if (timing.hasOwnProperty(k)) >
to<if (k in timing)>
then i can use it like
<timing.printTable(window.performace.timing)>
is that ture?