企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## **使用示例** > 参考文档:[https://underscorejs.net/](https://underscorejs.net/) > 版本:1.9.1 > 代码来自:[https://blog.csdn.net/jackliu16/article/details/82875447](https://blog.csdn.net/jackliu16/article/details/82875447) ``` <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>underscore.js</title> <script src="../original/Every.js" type="text/javascript" charset="utf-8"></script> <script src="../original/Require.js" type="text/javascript" charset="utf-8"></script> </head> <body> <p> underscore.js </p> <script type="text/javascript"> var data = ['Pharrel Williams', 'Led Zeppelin', 'Rolling Stones']; Every.use(['underscore'], function(underscore) { _.each(data, function(artist, index, artists) { console.log('artist: ' + artist); }); }); </script> </body> </html> ```