📜  每个角度 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:11.033000             🧑  作者: Mango

代码示例2
var values = {name: 'misko', gender: 'male'};
var log = [];
angular.forEach(values, function(value, key) {
  this.push(key + ': ' + value);
}, log);
expect(log).toEqual(['name: misko', 'gender: male']);