I'm getting started my studies about JavaFx, then I'm trying make little things but I'm having some problems.
This code bellow:
var nums = [1,2,3,4];
var numsGreaterThanTwo = nums[. > 2]; <= Here
When I compile it, appears: incompatible types: "expected Number, found Boolean in nums[<<.>> > 2] "
that references the instruction indicated above.