给定以下数组:constx=[2,14,54,109,129,136,165,312,320,330,335,348,399,440,450,461,482,501,546,547,549,559,582,584,615,620,647,682];consty=[539,681,682,683];使用nodev7.3.0我观察到以下意外行为:[>x.find(y.includes,y);undefined[>y.find(x.includes,x);682示例片段:constx=[2,14,54,109,129,136,165,312,320,330,335,348,399,440,4
我正在尝试在我的chrome扩展程序中使用Requre.js。这是我的list:{"name":"myextension","version":"1.0","manifest_version":2,"permissions":["http://localhost/*"],"web_accessible_resources":["js/test.js"],"content_scripts":[{"matches":["http://localhost/*"],"js":["js/require.js","js/hd_init.js"]}]}hd_init.jsconsole.log("h