They have similar statements and functions like if/else, switch, loop, etc.
This book will open door for you and understand the modern functions and methods
to use for current browsers. You can directly to his website or check it
Or you can support the small publishers and forget about the middle man.