What is the difference between when i get the values in Reactive forms in below ways:
this.someForm.controls['firstName'].value
this.someForm.get('firstName').value
public someForm: FormGroup = this.formBuilder.group({
firstName: ['', Validators.required],
});
this.someForm.controls['firstName'].value
this.someForm.get('firstName').value<br>
Above is my form and two different ways to get values from the form. But what is the difference b/w both ways if any ?