Answers for "why in angular template i cant use Object.Keys()"

0

why in angular template i cant use Object.Keys()

//make a variable  in ts file
 objectKeys = Object.keys;
//in template access it like this
  <p>
     {{this.object[objectKeys(this.object)[0]]}}
   </p>
Posted by: Guest on April-08-2022

Code answers related to "why in angular template i cant use Object.Keys()"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language