I searched about this a lot but I still don't get it.
I mean look at this website, https://www.computerhope.com/issues/ch001632.htm
It says that from Binary to string, I have to convert it to ASCII first, okay okay I understood this, then it says in order convert to ASCII, you have to convert it to decimal first(which I suppose it uses parseInt() function?) then after you convert to decimal, you have to convert it finally to ASCII.
I looked at other websites(except the websites that give you the direct Javascript code, I don't want that) and I have seen that most websites follow this logic, from Binary to decimal, from decimal to ASCII, and the browser will translate ASCII to string visually.
Now the problem is, how I'm supposed to convert decimal to ASCII then convert it to string? I searched at web about ASCII standards and I suppose it needs a lot of If condition(there are no pattern I between them I suppose), https://www.computerhope.com/jargon/a/ascii.htm
I just need a method to do that in Javascript(if there is), I searched about that and I only found parseInt(which its job is to translate Binary to decimal) and toString(which I suppose it doesn't do the job I need)
Is there something like that(in-built function or a method)? If there are not something like that, can you give me an algorithm to do that? And please don't give me the code, just give me what I need and I will do it myself, thank you.
EDIT: My question is different, can you please read the question before flagging it? I asked for a way to convert from decimal to ASCII and not from character to ASCII, it's completely different thing.