运行此代码,然后就可以检索这个文档ID并获得清单8内所示的结果。
Running this code, you can then retrieve the document ID and get back the response in Listing 8.
计算整个网格的工资总额,然后除以网格中的员工总数(清单10).此代码在客户端运行。
Calculate the total of the salaries across the grid and then divide that by the total number of employees in the grid (Listing 10). This code is run client side.
然后,此代码打印该方法返回的字符串,也就是创建的远程博客文章的 blogid。
Then, this code prints the string that the method returned, which is the blogid of the remote blog entry that was created.
应用推荐