Skip to content

Function declaration or function expression #32

@Mu7ammadAbed

Description

@Mu7ammadAbed

Stick to one way

GreenApple/js/api.js

Lines 34 to 36 in 6da3b31

(function randomImageGenerator() {
const url = "https://foodish-api.herokuapp.com/api/";
api(url, (response) => {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions