- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>无标题页</title>
- <script src="linqjs/linq.js" type="text/javascript"></script>
- <script type="text/javascript">
-
-
-
- var arr = [
- {id:1,name:"a",money:5000},
- {id:2,name:"c",money:2000},
- {id:3,name:"b",money:10000}
- ];
-
- var newArr = Enumerable.From(arr).OrderBy("$.name").ToArray();
- </script>
- </head>
- <body>
- <div> </div>
- </body>
- </html>
posted @
2015-06-28 14:46
大林just
阅读(
112)
评论()
编辑
收藏
举报