due to promise in console value not printed. below issue we getting.
i used to resolve using promise.
to print use then
instead of this
this.userdata.get();
use below then;
this.userdata.get()
.then( res =>
alert(console.log(res))
)
)
using System; public class HelloWorld { public static void Main(string[] args) { int[] ar={2,2,3,3,4,6,6}; C...
No comments:
Post a Comment