Let's say we have one PHP array:
$decoded = array(
'method' => 'getFile',
'number' => '12345'
);
The array data will pass to another JavaScript get function(params).
function get(params) {
}
How I get the $decoded['method']
value in JavaScript language in the get function?