Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

stub in javascript

function getCharacters(callback) {
  $.get('http://api.example.com/characters', callback);
}
Source by learn.co #
 
PREVIOUS NEXT
Tagged: #stub #javascript
ADD COMMENT
Topic
Name
1+2 =