?
本文檔使用 php中文網(wǎng)手冊(cè) 發(fā)布
注意: this is not an injectable instance, just a globally available function.
Method for serializing common angular objects (scope, elements, etc..) into strings, useful for debugging.
This method is also available on window, where it can be used to display objects on debug console.
angular.mock.dump(Object);
參數(shù) | 類型 | 詳述 |
---|---|---|
object | * |
any object to turn into string. |
string |
a serialized string of the argument |