+ 2

A question!. Can i use a Javascript code in Java ?

I mean I want to programm smth but the tutorial is for Javascript and my question is. Can I use the code for Programming in Java? or is it only for JS

29th Jan 2018, 9:23 PM
Saru
Saru - avatar
4 Answers
+ 1
that means?
29th Jan 2018, 9:42 PM
Saru
Saru - avatar
0
You can try and reproduce the algorithm in java
29th Jan 2018, 9:41 PM
ifl
ifl - avatar
0
depends a lot about what the initial tutorial is about .. if it is about interacting with html/ dom in a browser it will be a bit hard to do in java. but if it just data manipulation you may be able to convert to the equivalent in any other language :-)
29th Jan 2018, 9:45 PM
ifl
ifl - avatar
0
oh I see what ya mean
29th Jan 2018, 9:46 PM
Saru
Saru - avatar