What is the role of ! in this javascript equation?
let data = 'hello : world';
data = data!.trim();
I tried looking into the internet and wasn't able to find any satisfactory solution. Trying this in local browser return nothing.
What is the role of ! in this javascript equation?
let data = 'hello : world';
data = data!.trim();
I tried looking into the internet and wasn't able to find any satisfactory solution. Trying this in local browser return nothing.