Android coding vs PC/MAC Stand Alone Coding

does coding for android and pc are on the same way?

Yes you can write your scripts in the same language and use them to build to both PC, Mac, iOS, Android and more!

Actually yes and no, some function are Desktop, or android or Ios only so no.
But it’s mainly yes.