Thursday, 23 September 2021

type script

In typescript we inherited form one class object we cant assign value directly we need to pass entire object list 
for example i have a class with four data properties

 this.csrazureprop={
      crv:"P-256",
      keyType:v.name,
      keysize:256,

    }
if i assign a value get an error like below
this.csrazureprop.crv="p-256".it doesn't work throw an error.
for class object we should write in an object format only

validatiaon angular click

codeing importent click

codeing importent click here
check angular here

var str="hello world" undefined str.includes("world") true var str="www.piltd.com" undefined str.includes("piltd.com") true

No comments:

Post a Comment

remove duplicates in an sorted array

  using System; public class HelloWorld {          public static void Main(string[] args)     {         int[] ar={2,2,3,3,4,6,6};          C...