---
title: "Discussion on \"Day86 of #100Daysof Code ::::\n\nJavaScript Class Expressions.\" | Hashnode"
description: "Discussion on \"Day86 of #100Daysof Code ::::\n\nJavaScript Class Expressions.\". Classes can be found in a function. A lot can be done with them there. For instance, a class in a function can be passed around, returned and can be found inside another expression.\nLets take a look at a functionn that returns a class\nfunction create..."
url: "https://hashnode.com/posts/day86-of-100daysof-code-javascript-class-expressions/5c1606f4252f6d5b707ada1e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day86 of #100Daysof Code :::: JavaScript Class Expressions.](https://hashnode.com/post/day86-of-100daysof-code-javascript-class-expressions?utm_source=hashnode&utm_medium=feed)

Classes can be found in a function. A lot can be done with them there. For instance, a class in a function can be passed around, returned and can be found inside another expression. Lets take a look at a functionn that returns a class function create...

Dec 16, 2018 · hashnode.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#classes](https://hashnode.com/tag/classes)
-   [#code](https://hashnode.com/tag/code)
-   [#tech](https://hashnode.com/tag/tech)

## Written by

[Chidera Paul Ugwuanyi](https://hashnode.com/@chidera)

@chidera · Aba, Abia State, Nigeria

  
[View profile](https://hashnode.com/@chidera)

React Native Developer

React native Developer, Life long learner, Jesus Christ lover.

## Responses 1

Markdown supported · ⌘↵ to post

[Shreyansh Pandey](https://hashnode.com/@labsvisua)

[Dec 17, 2018](https://hashnode.com/posts/day86-of-100daysof-code-javascript-class-expressions/5c1606f4252f6d5b707ada1e/comment/5c181bd3f160790a122d2b62)

Dynamic class injection is a bad practice.

[Chidera Paul Ugwuanyi](https://hashnode.com/@chidera)

[Dec 18, 2018](https://hashnode.com/posts/day86-of-100daysof-code-javascript-class-expressions/5c1606f4252f6d5b707ada1e/comment/5c181bd3f160790a122d2b62#reply-5c18a594f160790a122d2d7b)

Sure, @pandey you're right. Even the practice is scarcely used. Although in learning, you're exposed to Every manner of info.
